/* Italian flag palette */
:root {
  --green: #00754b;
  --green-dark: #004b32;
  --red: #c93639;
  --white: #ffffff;
  --ink: #18372c;
  --muted: #52665c;
  --line: #d8e4dc;
  --soft: #f3f8f4;
  --body: "Manrope", sans-serif;
  --display: "Urbanist", sans-serif;
  --gutter: clamp(24px, 6vw, 104px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Foundation */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
  scrollbar-color: var(--green) var(--soft);
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.75;
}
body.menu-open,
body.lightbox-open {
  overflow: hidden;
}
::selection {
  background: var(--red);
  color: var(--white);
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button {
  font: inherit;
  cursor: pointer;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
video {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
}
h1,
h2 {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}
h1 {
  font-size: clamp(50px, 5.5vw, 86px);
}
h2 {
  font-size: clamp(38px, 3.9vw, 60px);
}
h3 {
  font-size: 24px;
  font-weight: 650;
  line-height: 1.2;
}
p {
  max-width: 64ch;
}
p + p {
  margin-top: 19px;
}
h2 + p,
h3 + p {
  margin-top: 24px;
}
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.section {
  padding: 110px var(--gutter);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  padding: 14px 28px;
  border: 1px solid var(--red);
  border-radius: 50px;
  color: var(--white);
  background: var(--red);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition:
    background 200ms,
    transform 250ms var(--ease),
    box-shadow 250ms;
}
.button:hover {
  transform: translateY(-3px);
  background: #ad282b;
  box-shadow: 0 8px 20px #c9363920;
}
.button:active {
  transform: translateY(1px);
}
.button-outline {
  background: transparent;
  border-color: var(--green);
  color: var(--green);
}
.button-outline:hover {
  background: var(--soft);
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  text-decoration-thickness: 1px;
}
.text-link:hover {
  color: var(--red);
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 98px;
  padding: 15px var(--gutter);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header::before,
.footer::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--green) 0 33.333%,
    white 33.333% 66.666%,
    var(--red) 66.666% 100%
  );
}
.brand {
  display: flex;
  align-items: center;
  min-height: 44px;
  flex-shrink: 0;
}
.brand img {
  width: clamp(225px, 23vw, 330px);
  height: auto;
  object-fit: contain;
}
.site-header .brand img {
  filter: brightness(0.28) sepia(1) saturate(2) hue-rotate(85deg);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.site-header nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.site-header nav a::after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms var(--ease);
}
.site-header nav a:hover::after,
.site-header nav a[aria-current]::after {
  transform: scaleX(1);
}
.site-header nav a[aria-current] {
  color: var(--green);
}
.menu-toggle {
  display: none;
}
.motion-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  background: transparent;
}
.motion-toggle:hover {
  border-color: var(--green);
}
.motion-toggle svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.motion-toggle .play-icon {
  display: none;
}
.motion-paused .motion-toggle .pause-icon {
  display: none;
}
.motion-paused .motion-toggle .play-icon {
  display: block;
}

/* Photo-led opening */
.hero {
  position: relative;
}
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1136 / 305;
  min-height: 0;
  overflow: hidden;
  background: #8c9188;
}
.hero-car {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  animation: hero-journey 14s var(--ease) both;
}
@keyframes hero-journey {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}
.hero-shade {
  display: none;
}
.hero-mobile-script {
  display: none;
}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 48px var(--gutter) 25px;
  animation: opening-copy 1s var(--ease) both;
}
@keyframes opening-copy {
  from {
    opacity: 0.4;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-content h1 {
  font-size: clamp(45px, 4.7vw, 76px);
  color: var(--green);
}
.hero-content h1 span {
  color: var(--red);
  font-weight: 500;
}
.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.hero-location {
  display: block;
  padding: 0 var(--gutter) 44px;
  font-size: 14px;
  color: var(--muted);
}

/* Image interactions and layouts */
.photo {
  overflow: hidden;
  border-radius: 12px;
  background: var(--soft);
}
.photo a {
  display: block;
  height: 100%;
  overflow: hidden;
}
.photo img {
  width: 100%;
  height: 100%;
  transition:
    transform 800ms var(--ease),
    filter 500ms;
}
.photo a:hover img {
  transform: scale(1.045);
  filter: saturate(1.06);
}
.photo:has(a:focus-visible) {
  outline: 3px solid var(--red);
  outline-offset: 5px;
}
.photo a:focus-visible {
  outline-offset: -5px;
}
.intro {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 85px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.intro-copy h2 {
  color: var(--green);
}
.intro-copy p {
  margin-top: 30px;
  font-size: 18px;
}
.intro-photos {
  position: relative;
  min-height: 480px;
  padding: 0 0 70px 45px;
}
.intro-large {
  height: 390px;
}
.intro-small {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 53%;
  height: 220px;
  border: 9px solid white;
}
.qualities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 65px;
  padding-top: 65px;
  padding-bottom: 65px;
  background: var(--green);
  color: var(--white);
}
.qualities > div {
  display: grid;
  grid-template-columns: 50px 1fr;
  column-gap: 22px;
  align-content: center;
}
.qualities .ingredient-icon {
  grid-row: span 2;
  width: 45px;
  height: 45px;
  object-fit: contain;
  filter: invert(1);
}
.qualities h2 {
  font-size: 29px;
}
.qualities p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
}

/* Gelato craft */
.craft {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  display: flex;
  justify-content: flex-end;
  color: white;
}
.craft-visual {
  position: absolute;
  inset: -30px 0;
}
.craft-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(var(--pan, 0px)) scale(1.04);
}
.craft::after {
  position: absolute;
  content: "";
  inset: 0;
  background: #11141145;
}
.craft-text {
  position: relative;
  z-index: 1;
  width: 60%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-content: center;
}
.craft-text > div:first-child {
  grid-column: 1 / -1;
  max-width: 57ch;
}
.craft-text h2 {
  font-size: 34px;
  font-weight: 650;
}
.craft-text p {
  font-size: 15px;
  line-height: 1.85;
  margin-top: 20px;
}
.craft-text h2:first-letter {
  text-transform: uppercase;
}

/* Coffee, sweets and savoury */
.coffee {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 85px;
  align-items: center;
}
.coffee-copy h2 {
  color: var(--green);
}
.coffee-copy p {
  margin-top: 30px;
}
.coffee-copy .button {
  margin-top: 30px;
}
.photo-pair {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 20px;
  align-items: center;
}
.photo-pair .tall {
  height: 550px;
}
.photo-pair .short {
  height: 350px;
}
.sweets {
  background: var(--soft);
  text-align: center;
}
.sweets-heading {
  max-width: 810px;
  margin: 0 auto 50px;
}
.sweets-heading h2 {
  color: var(--red);
}
.sweets-heading p {
  margin: 28px auto 0;
}
.sweets-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  align-items: center;
  gap: 24px;
}
.sweets-grid .photo {
  height: 360px;
}
.sweets-grid .photo:nth-child(2) {
  height: 470px;
}
.sweets .button {
  margin-top: 45px;
}
.italianita-band {
  background: var(--red);
  padding: 65px var(--gutter);
}
.italianita-band img {
  width: 800px;
  height: auto;
  margin: auto;
  object-fit: contain;
}
.savory {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.savory-copy h2 {
  font-size: 46px;
  color: var(--green);
}
.savory-copy > div + div {
  margin-top: 40px;
}
.savory-copy p {
  font-size: 16px;
}
.savory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.savory-grid .photo {
  height: 240px;
}
.savory-grid .photo:nth-child(even) {
  transform: translateY(32px);
}
.film-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
  background: var(--green);
  color: white;
}
.film-section .text-link {
  color: white;
}
.film-section video {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--green-dark);
}
.gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
  margin-bottom: 50px;
}
.gallery-heading h2 {
  color: var(--green);
}
.gallery-heading p {
  max-width: 30ch;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-grid .photo {
  aspect-ratio: 1;
}
.gallery-grid .photo:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-grid .photo:last-child {
  grid-column: span 2;
  aspect-ratio: 2.06;
}

/* Shared visit block */
.visit {
  background: var(--soft);
}
.visit-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 60px;
}
.visit-heading h2 {
  color: var(--green);
}
.visit-heading p {
  font-size: 15px;
}
.visit-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 60px;
  padding-top: 38px;
  border-top: 1px solid #bdcfc1;
}
.visit-grid h3 {
  margin-bottom: 25px;
}
.visit-grid dl {
  margin: 0;
  font-size: 15px;
}
.visit-grid dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.visit-grid dd {
  margin: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.visit-grid dt {
  white-space: nowrap;
}
address {
  font-style: normal;
}
.contact-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  overflow-wrap: anywhere;
}
.footer {
  position: relative;
  padding: 60px var(--gutter) 20px;
  background: var(--green-dark);
  color: white;
}
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 45px;
}
.footer-main > span {
  font-size: 14px;
}
.footer-main > a:last-child {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer .brand img {
  width: 300px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #52836b;
  padding-top: 18px;
  font-size: 12px;
}
.footer-bottom nav {
  display: flex;
  gap: 25px;
}
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.mobile-action {
  display: none;
}

/* Inner page openings */
.page-hero {
  position: relative;
  overflow: hidden;
  height: 410px;
  color: white;
}
.page-hero > [data-pan] {
  position: absolute;
  inset: -30px 0;
}
.page-hero > [data-pan] img {
  width: 100%;
  height: 100%;
  transform: translateY(var(--pan, 0px)) scale(1.04);
}
.page-hero::after {
  position: absolute;
  content: "";
  inset: 0;
  background: #05261950;
}
.page-hero-copy {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px var(--gutter);
}
.page-hero-copy p {
  margin-top: 25px;
  font-size: 20px;
}
.menu-hero img {
  object-position: center 43%;
}
.contact-hero {
  height: 520px;
}
.contact-hero img {
  object-position: center 60%;
}
.contact-hero .page-hero-copy {
  background: linear-gradient(90deg, #00382185, transparent);
}
.menu-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 65px;
  align-items: start;
}
.menu-index {
  position: sticky;
  top: 125px;
}
.menu-index nav {
  display: flex;
  flex-direction: column;
}
.menu-index a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  font-size: 14px;
  text-decoration: none;
}
.menu-index a:hover {
  color: var(--red);
  text-decoration: underline;
}
.menu-groups {
  columns: 2;
  column-gap: 55px;
}
.menu-category {
  break-inside: avoid;
  margin-bottom: 50px;
}
.menu-category h2 {
  color: var(--green);
  font-size: 30px;
  margin-bottom: 20px;
}
.menu-category dl {
  margin: 0;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.6;
}
.menu-item dt {
  min-width: 0;
}
.menu-item dd {
  margin: 0;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-size: 13px;
}
.menu-description {
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
}
.menu-description p {
  margin: 0;
}
.price-note {
  column-span: all;
  font-size: 13px;
  padding-top: 20px;
}
.partner-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 65px;
}
.partner-hero h1 {
  color: var(--green);
}
.partner-hero h1 span {
  color: var(--red);
}
.partner-hero .button {
  margin-top: 35px;
}
.partner-hero .photo {
  height: 480px;
}
.partner-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.partner-text h2 {
  font-size: 41px;
  color: var(--green);
}
.partner-text p {
  font-size: 15px;
}
.partner-text h2 + p {
  margin-top: 28px;
}
.partner-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.partner-photos .photo {
  height: 245px;
}
.partner-photos .photo:nth-child(even) {
  transform: translateY(28px);
}
.partner-tinted {
  background: var(--soft);
}
.partner-close {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.partner-close h2 {
  font-size: 40px;
  color: var(--red);
}
.partner-close p {
  margin-top: 25px;
}
.partner-close .button {
  margin-top: 30px;
}
.partner-close-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.partner-close-photos .photo {
  height: 420px;
}
.contact-pictures {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.contact-pictures h2 {
  font-size: 42px;
  color: var(--green);
}
.contact-pictures p {
  margin-top: 25px;
}
.contact-pictures .button {
  margin-top: 25px;
}
.contact-pictures .photo {
  height: 360px;
}
.legal-main {
  max-width: 1050px;
  margin: auto;
}
.legal-main h1 {
  color: var(--green);
  margin-bottom: 50px;
}
.legal-main h2 {
  font-size: 30px;
  margin: 40px 0 20px;
}
.legal-main p {
  margin: 20px 0;
}

/* Image viewer */
.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  padding: 70px 5vw 30px;
  margin: 0;
  border: 0;
  background: #00301feb;
  color: white;
}
.lightbox::backdrop {
  background: #002c20;
}
.lightbox > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 15px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 8px 14px;
  color: white;
  border: 1px solid #ffffff80;
  border-radius: 30px;
  background: transparent;
  font-size: 14px;
}
.lightbox-close span {
  font-size: 26px;
  line-height: 1;
}

/* Tablet */
@media (max-width: 1150px) {
  .site-header {
    gap: 18px;
    padding-left: 32px;
    padding-right: 32px;
  }
  .site-header .brand img {
    width: 255px;
  }
  .site-header nav {
    gap: 21px;
  }
  .site-header nav a {
    font-size: 13px;
  }
  .hero-content {
    align-items: flex-start;
  }
  .hero-content h1 {
    font-size: 51px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .section {
    padding-top: 85px;
    padding-bottom: 85px;
  }
  .intro,
  .coffee,
  .savory,
  .film-section,
  .partner-story,
  .partner-close {
    gap: 45px;
  }
  .qualities {
    gap: 30px;
    padding-top: 55px;
    padding-bottom: 55px;
  }
  .qualities > div {
    grid-template-columns: 40px 1fr;
    gap: 15px;
  }
  .qualities h2 {
    font-size: 25px;
  }
  .craft-text {
    width: 68%;
    gap: 30px;
  }
  .craft-text p {
    font-size: 14px;
  }
  .savory-copy h2 {
    font-size: 39px;
  }
  .visit-grid {
    gap: 30px;
  }
  .visit-grid dt,
  .visit-grid dd {
    font-size: 13px;
  }
  .visit-grid .contact-link {
    font-size: 14px;
  }
  .menu-layout {
    grid-template-columns: 190px 1fr;
    gap: 40px;
  }
  .menu-groups {
    columns: 1;
  }
  .partner-text h2 {
    font-size: 35px;
  }
  .partner-photos .photo {
    height: 210px;
  }
  .contact-pictures {
    grid-template-columns: 1fr 1fr;
  }
  .contact-pictures > div:first-child {
    grid-column: 1 / -1;
  }
}

/* Compact navigation and mobile compositions */
@media (max-width: 900px) {
  html {
    scroll-padding-top: 95px;
  }
  .site-header {
    min-height: 84px;
    padding: 12px 24px;
  }
  .site-header .brand img {
    width: 250px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    margin-left: auto;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--green);
    font-size: 14px;
  }
  .menu-lines {
    width: 22px;
    height: 14px;
    border-top: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
  }
  .menu-toggle[aria-expanded="true"] .menu-lines {
    transform: rotate(-45deg);
  }
  .site-header nav {
    display: none;
    position: fixed;
    inset: 84px 0 0;
    padding: 50px 30px 100px;
    margin: 0;
    background: white;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 15px;
  }
  .site-header nav.is-open {
    display: flex;
  }
  .site-header nav a {
    font-family: var(--display);
    min-height: 68px;
    font-size: 34px;
  }
  .site-header nav a::after {
    transform-origin: left;
    right: auto;
    width: 60px;
  }
  .motion-toggle {
    width: 44px;
    height: 44px;
  }
  .intro,
  .coffee {
    gap: 35px;
  }
  .intro-copy p {
    font-size: 16px;
  }
  .intro-photos {
    min-height: 400px;
    padding-left: 20px;
  }
  .intro-large {
    height: 320px;
  }
  .intro-small {
    height: 170px;
    width: 65%;
    border-width: 6px;
  }
  .qualities {
    gap: 24px;
  }
  .qualities > div {
    display: block;
  }
  .qualities .ingredient-icon {
    margin-bottom: 20px;
  }
  .craft-text {
    width: 75%;
  }
  .visit-heading {
    display: block;
  }
  .visit-heading p {
    margin-top: 20px;
  }
  .visit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .visit-grid > div:last-child {
    grid-column: 1 / -1;
  }
  .visit-grid .contact-link {
    font-size: 16px;
  }
  .footer-main {
    flex-wrap: wrap;
  }
  .footer-main > span {
    margin-left: auto;
  }
  .footer-main > a:last-child {
    display: none;
  }
  .partner-hero {
    gap: 35px;
  }
  .partner-hero h1 {
    font-size: 48px;
  }
  .partner-hero .photo {
    height: 400px;
  }
  .partner-story,
  .partner-close {
    grid-template-columns: 1fr;
  }
  .partner-photos .photo {
    height: 300px;
  }
  .partner-text p {
    max-width: 70ch;
  }
}

@media (max-width: 650px) {
  .section {
    padding: 65px 24px;
  }
  h1 {
    font-size: 47px;
  }
  h2 {
    font-size: 41px;
  }
  .site-header {
    gap: 14px;
  }
  .site-header .brand img {
    width: 205px;
  }
  .menu-toggle > span:first-child {
    display: none;
  }
  .menu-toggle {
    justify-content: center;
    min-width: 35px;
  }
  .motion-toggle {
    width: 40px;
    height: 44px;
    border: 0;
  }
  .hero-visual {
    min-height: 285px;
    aspect-ratio: auto;
  }
  .hero-car {
    object-position: 61% center;
  }
  .hero-mobile-script {
    display: block;
    position: absolute;
    top: 28px;
    left: 24px;
    right: 24px;
  }
  .hero-mobile-script img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .hero-content {
    display: block;
    padding: 35px 24px 20px;
  }
  .hero-content h1 {
    font-size: clamp(37px, 8.8vw, 55px);
  }
  .hero-actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 28px;
  }
  .hero-actions .button {
    padding: 12px 17px;
    font-size: 12px;
    flex: 1;
    min-height: 52px;
  }
  .hero-location {
    padding: 0 24px 35px;
    font-size: 13px;
  }
  .intro {
    grid-template-columns: 1fr;
  }
  .intro-copy p {
    margin-top: 25px;
  }
  .intro-photos {
    min-height: 370px;
    padding-left: 20px;
    padding-bottom: 60px;
  }
  .intro-large {
    height: 300px;
  }
  .intro-small {
    height: 165px;
    width: 55%;
  }
  .qualities {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .qualities > div {
    display: grid;
    grid-template-columns: 50px 1fr;
    column-gap: 25px;
  }
  .qualities .ingredient-icon {
    width: 42px;
    height: 42px;
    margin: 0;
    grid-row: span 2;
  }
  .qualities h2 {
    font-size: 28px;
  }
  .qualities p {
    font-size: 15px;
  }
  .craft {
    min-height: 0;
    display: block;
  }
  .craft-visual img {
    object-position: 23% center;
  }
  .craft::after {
    background: #0b1619d1;
  }
  .craft-text {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .craft-text h2 {
    font-size: 34px;
  }
  .craft-text p {
    font-size: 16px;
    line-height: 1.8;
  }
  .coffee {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .coffee-copy {
    order: -1;
  }
  .photo-pair {
    gap: 12px;
  }
  .photo-pair .tall {
    height: 360px;
  }
  .photo-pair .short {
    height: 260px;
  }
  .sweets {
    text-align: left;
  }
  .sweets-heading {
    margin-bottom: 35px;
  }
  .sweets-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .sweets-grid .photo {
    height: 210px;
  }
  .sweets-grid .photo:nth-child(2) {
    height: 210px;
  }
  .sweets-grid .photo:last-child {
    grid-column: 1 / -1;
    height: 250px;
  }
  .sweets .button {
    width: 100%;
    margin-top: 30px;
  }
  .italianita-band {
    padding: 45px 24px;
  }
  .savory {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .savory-copy h2 {
    font-size: 39px;
  }
  .savory-grid {
    gap: 12px;
    padding-bottom: 20px;
  }
  .savory-grid .photo {
    height: 175px;
  }
  .savory-grid .photo:nth-child(even) {
    transform: translateY(20px);
  }
  .film-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .film-section video {
    height: 390px;
  }
  .gallery-heading {
    display: block;
    margin-bottom: 35px;
  }
  .gallery-heading p {
    margin-top: 20px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .gallery-grid .photo:first-child {
    grid-column: span 2;
    grid-row: auto;
    aspect-ratio: 1.35;
  }
  .gallery-grid .photo:last-child {
    grid-column: auto;
    aspect-ratio: 1;
  }
  .visit-heading {
    margin-bottom: 35px;
  }
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 30px;
  }
  .visit-grid h3 {
    margin-bottom: 18px;
  }
  .visit-grid dt,
  .visit-grid dd {
    font-size: 14px;
  }
  .visit-grid .text-link {
    margin-top: 15px;
  }
  .footer {
    padding: 45px 24px 100px;
  }
  .footer-main,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-main > span {
    margin-left: 0;
  }
  .footer .brand img {
    width: 280px;
  }
  .footer-bottom {
    gap: 8px;
  }
  .mobile-action {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 55;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 9px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: white;
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform 250ms var(--ease);
  }
  .mobile-action.is-visible {
    transform: translateY(0);
  }
  .mobile-action a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 30px;
    color: white;
    background: var(--green);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }
  .mobile-action a + a {
    background: var(--red);
  }
  .menu-open .mobile-action,
  .lightbox-open .mobile-action {
    display: none;
  }
  .page-hero {
    height: 300px;
  }
  .page-hero-copy {
    padding: 35px 24px;
  }
  .page-hero-copy p {
    font-size: 17px;
  }
  .contact-hero {
    height: 400px;
  }
  .contact-hero img {
    object-position: 63% center;
  }
  .menu-layout {
    display: block;
  }
  .menu-index {
    position: static;
    margin-bottom: 45px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--line);
  }
  .menu-index nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 20px;
  }
  .menu-index a {
    font-size: 13px;
  }
  .menu-category {
    margin-bottom: 42px;
  }
  .menu-category h2 {
    font-size: 32px;
  }
  .menu-item {
    font-size: 15px;
  }
  .menu-item dd {
    font-size: 14px;
  }
  .menu-description {
    font-size: 13px;
  }
  .partner-hero {
    grid-template-columns: 1fr;
  }
  .partner-hero h1 {
    font-size: 48px;
  }
  .partner-hero .photo {
    height: 310px;
  }
  .partner-story {
    gap: 30px;
  }
  .partner-text h2,
  .partner-close h2 {
    font-size: 35px;
  }
  .partner-text p {
    font-size: 16px;
  }
  .partner-photos {
    gap: 12px;
    padding-bottom: 20px;
  }
  .partner-photos .photo {
    height: 180px;
  }
  .partner-photos .photo:nth-child(even) {
    transform: translateY(20px);
  }
  .partner-close-photos {
    gap: 12px;
  }
  .partner-close-photos .photo {
    height: 250px;
  }
  .contact-pictures {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .contact-pictures .photo {
    height: 300px;
  }
}

@media (max-width: 360px) {
  .site-header {
    padding-left: 18px;
    padding-right: 18px;
    gap: 9px;
  }
  .site-header .brand img {
    width: 184px;
  }
  .hero-content h1 {
    font-size: 33px;
  }
  .hero-actions .button {
    font-size: 11px;
    padding: 12px 13px;
  }
  .visit-grid dt,
  .visit-grid dd {
    font-size: 12px;
  }
  .contact-link {
    font-size: 14px;
  }
}

/* Motion always has a quiet alternative */
.motion-paused *,
.motion-paused *::before,
.motion-paused *::after {
  animation-play-state: paused !important;
  transition-duration: 0s !important;
}
.motion-paused [data-pan] img {
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-pan] img {
    transform: none !important;
  }
}

/* Wix Chocolaterie reference adaptation */
:root {
  --display: "Bodoni Moda", Georgia, serif;
  --ink: #28372f;
  --gutter: clamp(24px, 8vw, 130px);
}

body {
  font-size: 16px;
  line-height: 1.85;
}
h1,
h2,
h3 {
  font-weight: 400;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(38px, 3.4vw, 51px);
  line-height: 1.15;
}
h3 {
  font-size: 25px;
}
.section {
  padding-top: 125px;
  padding-bottom: 125px;
}
.button {
  min-height: 50px;
  padding: 12px 30px;
  border-radius: 0;
  background: transparent;
  color: var(--green);
  border-color: var(--green);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.button:hover {
  background: var(--green);
  color: white;
  box-shadow: none;
  transform: translateY(-2px);
}
.text-link {
  font-size: 13px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.photo,
.film-section video {
  border-radius: 0;
}
.photo img {
  transition-duration: 1100ms;
}

/* A narrow navigation rests over the first photograph. */
.site-header {
  min-height: 78px;
  padding: 12px clamp(24px, 5vw, 80px);
  gap: 25px;
  background: white;
  border-bottom: 1px solid #e1e5e1;
}
.site-header .brand img {
  width: 270px;
}
.site-header nav {
  gap: 30px;
}
.site-header nav a {
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.home-page .site-header {
  position: fixed;
  width: 100%;
  color: white;
  background: #14241cc9;
  border-bottom: 0;
  transition: background 250ms;
}
.home-page .site-header .brand img {
  filter: none;
}
.home-page .site-header nav a[aria-current] {
  color: white;
}
.home-page .site-header.is-scrolled {
  background: #163c2ff5;
}
.home-page .motion-toggle {
  color: white;
  border-color: #ffffff60;
}
.home-page .site-header :focus-visible {
  outline-color: white;
}
.site-header::before {
  height: 2px;
}

/* Full-screen product photograph and a centred serif wordmark. */
.template-hero {
  height: 100svh;
  min-height: 760px;
  background: #242321;
  color: white;
  overflow: hidden;
}
.template-hero .hero-visual {
  position: absolute;
  inset: -28px 0;
  width: 100%;
  aspect-ratio: auto;
  min-height: 0;
}
.template-hero .hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #0b160f80;
}
.template-hero .hero-car {
  width: 100%;
  height: 100%;
  object-position: center 53%;
}
.template-hero .hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 100px 24px 120px;
  text-align: center;
}
.template-hero .hero-content h1 {
  color: white;
  font-size: clamp(76px, 7vw, 104px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.template-hero .hero-content h1 span {
  color: white;
  font-weight: 400;
  font-style: italic;
}
.template-hero .hero-subtitle {
  margin-top: 32px;
  font-size: 13px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.template-hero .hero-actions {
  flex-direction: row;
  margin-top: 55px;
}
.template-hero .button {
  border-color: #ffffffc0;
  color: white;
  min-width: 185px;
}
.template-hero .button:hover {
  background: white;
  color: var(--green-dark);
}
.template-hero .hero-location {
  position: absolute;
  bottom: 35px;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 12px 24px;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.05em;
}

/* The first story follows the image-left, text-right composition of the reference. */
.intro {
  max-width: 1260px;
  margin: auto;
  grid-template-columns: 1fr 1fr;
  padding-left: 50px;
  padding-right: 50px;
  gap: 85px;
  border-top: 0;
  align-items: center;
}
.intro-copy {
  order: 2;
  text-align: center;
}
.intro-copy h2,
.coffee-copy h2 {
  font-weight: 400;
}
.intro-copy h2::after,
.coffee-copy h2::after,
.sweets-heading h2::after,
.gallery-heading h2::after,
.visit-heading h2::after {
  content: "";
  display: block;
  width: 65px;
  height: 1px;
  margin: 28px auto;
  background: var(--red);
}
.intro-copy p {
  font-size: 16px;
  margin-top: 0;
}
.intro-photos {
  order: 1;
  min-height: 0;
  padding: 0;
}
.intro-large {
  height: 560px;
}
.intro-small {
  display: none;
}
.qualities {
  color: var(--ink);
  background: white;
  max-width: 1200px;
  margin: auto;
  padding: 20px 50px 100px;
  gap: 60px;
  text-align: center;
}
.qualities > div {
  display: block;
}
.qualities .ingredient-icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 24px;
  filter: none;
  opacity: 0.7;
}
.qualities h2 {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.qualities p {
  font-size: 14px;
}
.craft {
  min-height: 720px;
}
.craft-text {
  width: 66%;
  gap: 40px;
}
.craft-text h2 {
  font-size: 36px;
  font-weight: 400;
}
.craft-text p {
  font-size: 15px;
}
.coffee {
  max-width: 1260px;
  margin: auto;
  padding-left: 50px;
  padding-right: 50px;
  gap: 85px;
}
.coffee-copy {
  text-align: center;
}
.coffee-copy p {
  font-size: 15px;
  margin-top: 0;
}
.photo-pair {
  display: block;
}
.photo-pair .tall {
  height: 580px;
}
.photo-pair .short {
  display: none;
}
.sweets {
  background: white;
  padding-top: 0;
}
.sweets-heading {
  max-width: 700px;
}
.sweets-heading h2 {
  color: var(--green-dark);
  font-size: 48px;
}
.sweets-heading p {
  margin-top: 0;
  font-size: 15px;
}
.sweets-grid {
  max-width: 1120px;
  margin: auto;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.sweets-grid .photo,
.sweets-grid .photo:nth-child(2) {
  height: 350px;
}
.italianita-band {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 450px;
  padding: 80px var(--gutter);
  background: url("assets/originals/52e3d7414f50ad14f6da8c7dda793678153bdee757596c48732f78d69244cc5fb1_12801.webp")
    center 58% / cover;
}
.italianita-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #142a1f80;
}
.italianita-band > div {
  position: relative;
  z-index: 1;
  width: 100%;
}
.italianita-band img {
  width: 700px;
}
.savory {
  max-width: 1260px;
  margin: auto;
  padding-left: 50px;
  padding-right: 50px;
  gap: 80px;
}
.savory-copy {
  text-align: center;
}
.savory-copy h2 {
  font-size: 42px;
}
.savory-copy p {
  font-size: 15px;
}
.savory-grid {
  gap: 16px;
}
.savory-grid .photo {
  height: 245px;
}
.savory-grid .photo:nth-child(even) {
  transform: none;
}
.film-section {
  color: var(--ink);
  background: #f6f8f5;
  text-align: center;
  gap: 100px;
}
.film-section .text-link {
  color: var(--green);
}
.film-section h2 {
  font-weight: 400;
}
.film-section p {
  margin-top: 28px;
}
.film-section video {
  height: 540px;
}
.gallery-heading {
  display: block;
  text-align: center;
  margin-bottom: 55px;
}
.gallery-heading p {
  margin: 0 auto;
  font-size: 15px;
  max-width: 50ch;
}
.gallery-grid {
  gap: 18px;
}
.gallery-grid .photo.template-fiat-photo {
  grid-column: 1 / -1;
  grid-row: auto;
  aspect-ratio: 1136 / 305;
}
.gallery-grid .photo:nth-child(2) {
  grid-column: span 2;
  grid-row: span 2;
}
.visit {
  background: white;
  padding-top: 95px;
}
.visit-heading {
  display: block;
  text-align: center;
  margin-bottom: 55px;
}
.visit-heading p {
  margin: 0 auto;
  font-size: 14px;
}
.visit-grid {
  max-width: 1100px;
  margin: auto;
  border-top: 0;
  padding-top: 20px;
}
.visit-grid h3 {
  font-size: 24px;
}
.footer {
  background: #173e2e;
}
.footer-main > span {
  font-family: var(--display);
  font-style: italic;
  font-size: 23px;
}

/* The same typography and airy rhythm continues on every inner page. */
.page-hero-copy {
  text-align: center;
  align-items: center;
}
.page-hero-copy h1 {
  font-size: 76px;
  font-weight: 400;
}
.page-hero-copy p {
  font-family: var(--display);
  font-size: 25px;
  font-style: italic;
}
.partner-hero {
  max-width: 1300px;
  margin: auto;
}
.partner-hero h1 {
  font-size: 65px;
}
.partner-hero > div:first-child {
  text-align: center;
}
.partner-story,
.partner-close {
  gap: 95px;
}
.partner-text {
  text-align: center;
}
.partner-text h2 {
  font-size: 39px;
}
.partner-photos .photo:nth-child(even) {
  transform: none;
}
.partner-tinted {
  background: #f6f8f5;
}
.partner-close h2 {
  font-size: 39px;
}
.partner-close > div:first-child {
  text-align: center;
}
.contact-pictures h2 {
  font-size: 42px;
}
.menu-category h2 {
  font-size: 33px;
  font-weight: 400;
}
.menu-category {
  margin-bottom: 55px;
}
.menu-item {
  font-size: 15px;
}
.menu-item dd {
  font-size: 14px;
}
.menu-description {
  font-size: 13px;
}
.menu-index a {
  font-size: 13px;
}
.legal-main h1 {
  font-weight: 400;
}
.lightbox-close {
  border-radius: 0;
}

@media (max-width: 1150px) {
  .site-header {
    gap: 18px;
    padding-left: 30px;
    padding-right: 30px;
  }
  .site-header .brand img {
    width: 235px;
  }
  .site-header nav {
    gap: 22px;
  }
  .site-header nav a {
    font-size: 11px;
  }
  .intro,
  .coffee,
  .savory {
    gap: 55px;
  }
  .craft-text {
    width: 72%;
  }
  .partner-story,
  .partner-close {
    gap: 50px;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 84px;
    padding: 12px 24px;
  }
  .home-page .menu-toggle {
    color: white;
  }
  .home-page .site-header nav {
    background: var(--green-dark);
  }
  .site-header nav a {
    font-size: 31px;
    font-family: var(--display);
    text-transform: none;
    letter-spacing: 0;
  }
  .section {
    padding-top: 90px;
    padding-bottom: 90px;
  }
  .intro,
  .coffee,
  .savory {
    padding-left: 35px;
    padding-right: 35px;
    gap: 40px;
  }
  .intro-large,
  .photo-pair .tall {
    height: 470px;
  }
  .qualities {
    padding: 0 35px 75px;
    gap: 30px;
  }
  .sweets {
    padding-top: 0;
  }
  .sweets-grid .photo,
  .sweets-grid .photo:nth-child(2) {
    height: 280px;
  }
  .craft-text {
    width: 78%;
  }
  .partner-hero h1 {
    font-size: 51px;
  }
  .partner-story,
  .partner-close {
    gap: 40px;
  }
  .film-section {
    gap: 45px;
  }
}

@media (max-width: 650px) {
  .site-header {
    gap: 12px;
    min-height: 78px;
  }
  .site-header .brand img {
    width: 205px;
  }
  .site-header nav {
    top: 78px;
  }
  .template-hero {
    height: 100svh;
    min-height: 650px;
  }
  .template-hero .hero-content {
    padding: 90px 24px 110px;
  }
  .template-hero .hero-content h1 {
    font-size: clamp(64px, 18vw, 90px);
  }
  .template-hero .hero-subtitle {
    margin-top: 28px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }
  .template-hero .hero-actions {
    margin-top: 42px;
    width: auto;
  }
  .template-hero .hero-actions .button {
    min-width: 185px;
    padding: 14px 28px;
    font-size: 12px;
  }
  .template-hero .hero-car {
    object-position: 47% center;
  }
  .template-hero .hero-location {
    bottom: 25px;
    padding: 12px 20px;
    font-size: 12px;
  }
  .section {
    padding: 70px 24px;
  }
  h2 {
    font-size: 40px;
  }
  .intro {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .intro-copy {
    order: 2;
  }
  .intro-photos {
    order: 1;
    width: 100%;
    min-height: 0;
    padding: 0;
  }
  .intro-large {
    height: 390px;
  }
  .intro-copy p {
    font-size: 16px;
  }
  .qualities {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 0 24px 65px;
  }
  .qualities > div {
    display: block;
  }
  .qualities .ingredient-icon {
    margin: 0 auto 18px;
  }
  .qualities h2 {
    font-size: 14px;
  }
  .qualities p {
    margin: 12px auto 0;
    max-width: 35ch;
  }
  .craft {
    min-height: 0;
  }
  .craft-text {
    width: 100%;
    gap: 35px;
    text-align: center;
  }
  .craft-text h2 {
    font-size: 36px;
  }
  .craft-text p {
    font-size: 15px;
  }
  .coffee {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .coffee-copy {
    order: 2;
  }
  .photo-pair {
    width: 100%;
    order: 1;
  }
  .photo-pair .tall {
    height: 420px;
  }
  .coffee-copy h2 {
    font-size: 40px;
  }
  .coffee-copy p {
    font-size: 16px;
  }
  .sweets {
    padding-top: 0;
    text-align: center;
  }
  .sweets-heading h2 {
    font-size: 38px;
  }
  .sweets-heading p {
    font-size: 16px;
  }
  .sweets-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sweets-grid .photo,
  .sweets-grid .photo:nth-child(2),
  .sweets-grid .photo:last-child {
    height: 320px;
    grid-column: auto;
  }
  .italianita-band {
    height: 330px;
    padding: 50px 24px;
  }
  .savory {
    gap: 40px;
  }
  .savory-copy h2 {
    font-size: 39px;
  }
  .savory-grid .photo {
    height: 190px;
  }
  .savory-grid .photo:nth-child(even) {
    transform: none;
  }
  .film-section {
    gap: 40px;
  }
  .film-section video {
    height: 420px;
  }
  .gallery-grid .photo:nth-child(2) {
    grid-column: span 2;
    grid-row: auto;
  }
  .gallery-grid .photo.template-fiat-photo {
    aspect-ratio: 2.1;
  }
  .visit-grid {
    text-align: left;
  }
  .footer-main > span {
    font-size: 21px;
  }
  .page-hero-copy h1 {
    font-size: 49px;
  }
  .page-hero-copy p {
    font-size: 22px;
  }
  .partner-hero h1 {
    font-size: 49px;
  }
  .partner-text h2,
  .partner-close h2 {
    font-size: 37px;
  }
  .partner-photos .photo:nth-child(even) {
    transform: none;
  }
  .contact-pictures {
    text-align: center;
  }
  .menu-item {
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  .site-header {
    padding-left: 18px;
    padding-right: 18px;
    gap: 8px;
  }
  .site-header .brand img {
    width: 184px;
  }
  .template-hero .hero-content h1 {
    font-size: 63px;
  }
}

/* Quality polish: typography, alignment and rhythm */
/* Shared reading and spacing rules */
:root {
  --section-space: clamp(64px, 6.5vw, 96px);
  --column-gap: clamp(36px, 5vw, 76px);
  --reading-measure: 60ch;
}
.section {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}
main p {
  text-wrap: pretty;
}
.intro-copy,
.coffee-copy,
.savory-copy,
.partner-text,
.partner-close > div:first-child {
  text-align: left;
  min-width: 0;
}
.intro-copy p,
.coffee-copy p,
.savory-copy p,
.partner-text p,
.partner-close p {
  max-width: var(--reading-measure);
  margin-left: 0;
  margin-right: 0;
  font-size: 16px;
  line-height: 1.75;
}
.intro-copy h2,
.coffee-copy h2,
.savory-copy h2 {
  max-width: 20ch;
  font-size: clamp(34px, 3.1vw, 46px);
  line-height: 1.16;
}
.intro-copy h2::after,
.coffee-copy h2::after {
  margin-left: 0;
  margin-right: 0;
}
.intro,
.coffee,
.savory,
.partner-story,
.partner-close {
  gap: var(--column-gap);
}
.intro,
.coffee,
.savory {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.partner-story,
.partner-close {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}
.partner-text h2,
.partner-close h2 {
  max-width: 22ch;
  margin: 0 0 14px;
  font-size: clamp(32px, 2.65vw, 40px);
  line-height: 1.18;
  text-align: left;
  text-wrap: balance;
}
.partner-text .section-summary,
.partner-close .section-summary {
  margin: 0 0 26px;
  max-width: 44ch;
  color: var(--green-dark);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 600;
}
.partner-text .section-summary + p,
.partner-close .section-summary + p {
  margin-top: 0;
}
.partner-text p + p,
.partner-close p + p {
  margin-top: 18px;
}
.partner-photos {
  gap: 16px;
}
.partner-photos .photo {
  height: auto;
  aspect-ratio: 1.06;
}
.partner-photos .photo:nth-child(even) {
  transform: none;
}
.partner-hero {
  padding-top: 72px;
  padding-bottom: 72px;
  gap: var(--column-gap);
}
.partner-hero h1 {
  font-size: clamp(43px, 4.6vw, 64px);
  line-height: 1.08;
}
.partner-hero .photo {
  height: 430px;
}
.partner-close-photos .photo {
  height: 360px;
}
.intro-large,
.photo-pair .tall {
  height: 500px;
}
.sweets {
  padding-top: 25px;
}
.sweets-heading p,
.craft-text p {
  font-size: 16px;
  line-height: 1.75;
}
.sweets-heading p {
  text-align: left;
  max-width: 62ch;
}
.film-section p {
  margin-left: auto;
  margin-right: auto;
}
.hero-car {
  animation-duration: 1100ms;
}
.menu-description {
  font-size: 14px;
  line-height: 1.6;
}
.menu-item {
  gap: 18px;
  padding-top: 15px;
  padding-bottom: 15px;
}
.menu-category h2 {
  line-height: 1.15;
  margin-bottom: 18px;
}
.price-note,
.menu-index a,
.text-link {
  font-size: 14px;
}
.site-header nav a {
  font-size: 13px;
  letter-spacing: 0.025em;
}
.site-header nav {
  gap: 25px;
}
.legal-main {
  max-width: 1040px;
  padding-top: 70px;
  padding-bottom: 85px;
}
.legal-main h1 {
  font-size: clamp(40px, 4vw, 56px);
  margin-bottom: 35px;
}
.legal-main h2 {
  max-width: 30ch;
  font-size: clamp(26px, 2.2vw, 32px);
  line-height: 1.22;
  margin-top: 34px;
  margin-bottom: 16px;
}
.legal-main p,
.legal-main address {
  max-width: 68ch;
  line-height: 1.8;
}
.contact-pictures {
  padding-top: 45px;
  padding-bottom: 85px;
}
.visit-heading {
  margin-bottom: 38px;
}
.visit-grid {
  gap: 40px;
}
.visit-grid dl,
.visit-grid dt,
.visit-grid dd {
  font-size: 15px;
}
.footer-bottom {
  font-size: 13px;
}
:focus-visible {
  scroll-margin-top: 115px;
  scroll-margin-bottom: 90px;
}
@media (max-width: 1100px) and (min-width: 901px) {
  .site-header .brand img {
    width: 225px;
  }
  .site-header nav {
    gap: 17px;
  }
  .site-header nav a {
    font-size: 12px;
  }
}
@media (max-width: 900px) {
  .site-header nav a {
    font-size: 31px;
  }
  .partner-story,
  .partner-close {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .partner-text p,
  .partner-close p {
    max-width: 66ch;
  }
  .partner-text h2,
  .partner-close h2 {
    max-width: 25ch;
    font-size: 35px;
  }
  .partner-photos .photo {
    height: 275px;
    aspect-ratio: auto;
  }
  .intro-large,
  .photo-pair .tall {
    height: 425px;
  }
  .visit-grid {
    gap: 32px;
  }
}
@media (max-width: 650px) {
  :root {
    --section-space: 56px;
    --column-gap: 32px;
  }
  .section {
    padding-left: 24px;
    padding-right: 24px;
  }
  .partner-hero {
    padding-top: 44px;
    padding-bottom: 50px;
  }
  .partner-hero h1 {
    font-size: 46px;
  }
  .partner-hero .photo {
    height: 300px;
  }
  .partner-text h2,
  .partner-close h2 {
    font-size: 31px;
    line-height: 1.18;
    max-width: 20ch;
    margin-bottom: 12px;
  }
  .partner-text .section-summary,
  .partner-close .section-summary {
    font-size: 16px;
    margin-bottom: 23px;
  }
  .partner-photos {
    gap: 12px;
    padding-bottom: 0;
  }
  .partner-photos .photo {
    height: 185px;
  }
  .partner-close-photos .photo {
    height: 240px;
  }
  .intro-copy h2,
  .coffee-copy h2,
  .savory-copy h2,
  .sweets-heading h2 {
    font-size: 34px;
    line-height: 1.16;
  }
  .intro-large,
  .photo-pair .tall {
    height: 365px;
  }
  .sweets {
    padding-top: 12px;
  }
  .sweets-grid .photo,
  .sweets-grid .photo:nth-child(2),
  .sweets-grid .photo:last-child {
    height: 290px;
  }
  .craft-text {
    text-align: left;
  }
  .craft-text h2 {
    font-size: 32px;
  }
  .craft-text p {
    font-size: 16px;
  }
  .craft-text > div:first-child {
    grid-column: auto;
  }
  .visit-heading h2,
  .film-section h2 {
    font-size: 36px;
  }
  .visit-grid {
    gap: 30px;
  }
  .visit-grid dt,
  .visit-grid dd {
    font-size: 14px;
  }
  .mobile-action {
    padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
  }
  .mobile-action a {
    min-height: 44px;
  }
  .footer {
    padding-bottom: calc(98px + env(safe-area-inset-bottom));
  }
  .legal-main h1 {
    font-size: 42px;
  }
  .legal-main h2 {
    font-size: 27px;
  }
  .legal-main {
    padding-top: 45px;
    padding-bottom: 55px;
  }
  .legal-main + .footer {
    padding-bottom: 35px;
  }
  .contact-pictures {
    padding-top: 20px;
  }
  .menu-description {
    font-size: 14px;
  }
}
@media (max-width: 360px) {
  .partner-hero h1 {
    font-size: 39px;
  }
  .partner-text h2,
  .partner-close h2 {
    font-size: 29px;
  }
  .visit-grid dt,
  .visit-grid dd {
    font-size: 13px;
  }
}

@media (max-width: 650px) {
  body:has(.legal-main) .footer {
    padding-bottom: 35px;
  }
}

/* Upright sans-serif copy; the selected serif remains exclusive to headings. */
body.template-style
  :is(
    p,
    a,
    span,
    address,
    dt,
    dd,
    button,
    label,
    input,
    textarea,
    select,
    li,
    figcaption,
    small,
    strong,
    em,
    b,
    i
  ):not(:is(h1, h2, h3, h4, h5, h6) *) {
  font-family: var(--body);
  font-style: normal;
}

/* Justified prose and automatic German hyphenation */
body.template-style :is(
  .intro-copy,
  .craft-text,
  .coffee-copy,
  .sweets-heading,
  .savory-copy,
  .partner-text,
  .partner-close,
  .legal-main
) p:not(.section-summary) {
  text-align: justify;
  text-align-last: start;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 6 3 3;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: pretty;
}

/* Rounded images outside hero sections */
body.template-style {
  --image-radius: 20px;
  --image-shadow: 0 12px 30px rgb(22 54 43 / 23%), 0 3px 8px rgb(22 54 43 / 9%);
}

body.template-style img:not(:is(.hero, .partner-hero) img) {
  border-radius: var(--image-radius);
  box-shadow: var(--image-shadow);
}

/* The outer frame carries the shadow, keeping hover zoom neatly clipped. */
body.template-style .photo:not(:is(.hero, .partner-hero) .photo) {
  border-radius: var(--image-radius);
  box-shadow: var(--image-shadow);
}

body.template-style .photo:not(:is(.hero, .partner-hero) .photo) img {
  box-shadow: none;
}

/* Home gallery carousel */
.home-gallery {
  max-width: 1320px;
  margin-inline: auto;
}
.home-gallery-heading {
  margin-bottom: 32px;
}
.home-gallery-heading h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 12px;
}
.home-gallery-stage {
  position: relative;
}
.home-gallery-slide {
  margin: 0;
}
.home-gallery-slide[hidden] {
  display: none;
}
.home-gallery-slide img {
  width: 100%;
  height: clamp(280px, 47vw, 570px);
  object-fit: cover;
  display: block;
}
.home-gallery-slide figcaption {
  margin-top: 20px;
  color: var(--green);
}
.home-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.home-gallery-controls button {
  min-width: 48px;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--green);
  border-radius: 24px;
  color: var(--green);
  background: white;
  cursor: pointer;
}
.home-gallery-controls button:hover,
.home-gallery-controls button[aria-pressed="true"] {
  color: white;
  background: var(--green);
}
.home-gallery-controls button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

/* Strong scroll parallax */
body.template-style .scroll-depth {
  overflow: hidden;
  isolation: isolate;
}
body.template-style .scroll-depth img {
  transform: none;
  scale: 1.34;
  translate: 0 var(--pan, 0%);
}
body.template-style .scroll-depth.photo a:hover img {
  transform: scale(1.035);
}
body.template-style .gallery-parallax-frame {
  border-radius: 20px;
  box-shadow: var(--image-shadow);
}
body.template-style .gallery-parallax-frame img {
  border-radius: 0;
  box-shadow: none;
}
@media (max-width: 767px) {
  body.template-style .scroll-depth img {
    scale: 1.24;
  }
}
body.template-style.motion-paused .scroll-depth img {
  scale: 1;
  translate: none;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  body.template-style .scroll-depth img {
    scale: 1;
    translate: none;
    transform: none;
  }
}

/* Exact visible image corners and amplified hero depth */
/* Clip the stationary frame: rounding a moving, enlarged image alone is insufficient. */
body.template-style .scroll-depth:not(.hero-scroll-depth),
body.template-style .photo:not(:is(.hero, .page-hero, .partner-hero) .photo) {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--image-shadow);
}
body.template-style img:not(:is(.hero, .page-hero, .partner-hero) img) {
  border-radius: 20px;
}
body.template-style .hero-scroll-depth,
body.template-style .hero-scroll-depth img {
  border-radius: 0;
  box-shadow: none;
}
body.template-style .hero-scroll-depth img {
  scale: 1.8;
}
@media (max-width: 767px) {
  body.template-style .hero-scroll-depth img {
    scale: 1.6;
  }
}
body.template-style.motion-paused .hero-scroll-depth img {
  scale: 1;
}
@media (prefers-reduced-motion: reduce) {
  body.template-style .hero-scroll-depth img {
    scale: 1;
  }
}

/* All inset photographs have rounded stationary frames, including partner intro. */
body.template-style .photo,
body.template-style .partner-hero .photo.hero-scroll-depth {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--image-shadow);
}
body.template-style .photo > a {
  border-radius: inherit;
  overflow: hidden;
}
body.template-style .partner-hero .photo img {
  border-radius: 20px;
}

/* Logos retain their original transparent shape. */
body.template-style :is(.site-header, .footer) .brand,
body.template-style :is(.site-header, .footer) .brand img {
  border-radius: 0;
  box-shadow: none;
}

/* Compact responsive dropdown navigation */
@media (max-width: 900px) {
  body.template-style .site-header nav {
    position: absolute;
    inset: 100% 0 auto;
    width: auto;
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    margin: 0;
    padding: 12px 24px 20px;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid rgb(128 128 128 / 18%);
    box-shadow: 0 12px 22px rgb(22 54 43 / 10%);
  }
  body.template-style .site-header nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 0;
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 0;
  }
  body.template-style .site-header nav a::after {
    bottom: 8px;
    width: 32px;
  }
  body.template-style .menu-toggle {
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
  body.template-style .menu-lines,
  body.template-style .menu-toggle[aria-expanded="true"] .menu-lines {
    position: relative;
    height: 18px;
    border: 0;
    transform: none;
  }
  body.template-style .menu-lines::before,
  body.template-style .menu-lines::after {
    content: '';
    position: absolute;
    left: 0;
    width: 22px;
    height: 1.5px;
    background: currentColor;
  }
  body.template-style .menu-lines::before { top: 4px; }
  body.template-style .menu-lines::after { top: 12px; }
  body.template-style .menu-toggle[aria-expanded="true"] .menu-lines::before {
    top: 8px;
    transform: rotate(45deg);
  }
  body.template-style .menu-toggle[aria-expanded="true"] .menu-lines::after {
    top: 8px;
    transform: rotate(-45deg);
  }
}

/* Link highlight expands from the centre and fades out on exit. */
body.template-style a,
body.template-style button {
  isolation: isolate;
}

/* Only static controls need a positioning context for the hover highlight. */
body.template-style .hover-anchor {
  position: relative;
}

body.template-style a::before,
body.template-style button::before {
  content: '';
  position: absolute;
  inset: -4px -7px;
  z-index: -1;
  border-radius: 8px;
  background: currentColor;
  pointer-events: none;
  opacity: 0;
  clip-path: circle(0% at 50% 50%);
  transition:
    clip-path 480ms cubic-bezier(.2, .65, .3, 1),
    opacity 320ms ease;
}

body.template-style :is(a, button):is(:hover, :focus-visible)::before {
  opacity: 0.12;
  clip-path: circle(75% at 50% 50%);
}

body.template-style :is(a.button, button, .mobile-action a)::before {
  inset: 0;
  border-radius: inherit;
}

/* Photo links receive the same expanding fade over the image. */
body.template-style a:has(> img)::before {
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

@media (prefers-reduced-motion: reduce) {
  body.template-style a::before,
  body.template-style button::before {
    transition: none;
  }
}

/* Consistent dark header across the entire website. */
body.template-style .site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 96px;
  padding-block: 20px;
  color: white;
  background: rgb(20 36 28 / 88%);
  border-bottom: 0;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
body.template-style .site-header.is-scrolled {
  background: rgb(22 60 47 / 97%);
}
body.template-style .site-header .brand img {
  width: 280px;
  filter: none;
}
body.template-style .site-header :is(nav a, .menu-toggle),
body.template-style .site-header nav a[aria-current] {
  color: white;
}
body.template-style .site-header :focus-visible {
  outline-color: white;
}
body.template-style:not(.home-page) main {
  padding-top: 96px;
}
html {
  scroll-padding-top: 116px;
}
@media (max-width: 900px) {
  body.template-style .site-header {
    min-height: 88px;
    padding-block: 16px;
  }
  body.template-style .site-header .brand img {
    width: min(235px, 58vw);
  }
  body.template-style .site-header nav {
    background: rgb(20 36 28 / 98%);
    max-height: calc(100dvh - 88px);
  }
  body.template-style:not(.home-page) main {
    padding-top: 88px;
  }
}

/* Original Fiat photograph behind a readable footer. */
body.template-style .footer {
  color: white;
  background-color: #14241c;
  background-image:
    linear-gradient(rgb(10 25 18 / 78%), rgb(10 25 18 / 88%)),
    url('assets/footer-fiat.webp');
  background-size: cover;
  background-position: center 58%;
  background-repeat: no-repeat;
  padding-top: 76px;
  padding-bottom: 28px;
}
body.template-style .footer :is(a, span) {
  color: white;
}
body.template-style .footer .brand img {
  filter: none;
  border-radius: 0;
  box-shadow: none;
}
body.template-style .footer-bottom {
  border-top-color: rgb(255 255 255 / 35%);
}
body.template-style .footer a:focus-visible {
  outline-color: white;
}
@media (max-width: 767px) {
  body.template-style .footer {
    background-position: 62% center;
    padding-top: 56px;
  }
}

/* Long legal headings and source URLs remain inside narrow screens. */
body.template-style .legal-main :is(h2, p, a) {
  min-width: 0;
  overflow-wrap: anywhere;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* Smooth overlapping gallery slides without visible captions. */
.home-gallery-stage {
  display: grid;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--image-shadow);
  isolation: isolate;
}
.home-gallery-slide {
  grid-area: 1 / 1;
  min-width: 0;
}
body.template-style .home-gallery-stage .gallery-parallax-frame {
  box-shadow: none;
}

/* Full-width hero photographs remain without image shadows. */
body.template-style .hero .hero-visual,
body.template-style .hero .hero-visual img,
body.template-style .page-hero > [data-pan],
body.template-style .page-hero > [data-pan] img {
  box-shadow: none;
}

/* Links use the centre-out highlight without underlines. */
body.template-style a,
body.template-style a:is(:hover, :focus, :active, :visited) {
  text-decoration: none;
}
body.template-style .site-header nav a::after {
  content: none;
  display: none;
}

/* Give pizza and piadina photographs room on smaller screens. */
@media (max-width: 900px) {
  body.template-style .savory {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 32px;
  }
  body.template-style .savory-copy {
    width: 100%;
    min-width: 0;
  }
  body.template-style .savory-grid {
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  body.template-style .savory-grid .photo,
  body.template-style .savory-grid .photo:nth-child(even) {
    margin: 0;
    transform: none;
  }
}
@media (max-width: 600px) {
  body.template-style .savory-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  body.template-style .savory-grid .photo,
  body.template-style .savory-grid .photo:nth-child(even) {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
  }
  body.template-style .savory-grid .photo a {
    height: auto;
  }
  body.template-style .savory-grid .photo img,
  body.template-style .savory-grid .photo a:hover img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    scale: 1;
    translate: none;
    transform: none;
  }
}

/* Local facts and useful questions, consistent with the existing design. */
.partner-lead {
  max-width: 52ch;
  margin: 20px 0 26px;
  font-size: 16px;
  line-height: 1.75;
  text-align: justify;
  text-align-last: start;
  hyphens: auto;
}
.local-faq {
  max-width: 1100px;
  margin-inline: auto;
}
.local-faq h2 {
  margin-bottom: 28px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.18;
  text-wrap: balance;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child {
  border-top: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 56px;
  padding: 16px 0;
  color: var(--green);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary svg {
  flex-shrink: 0;
  transition: transform 220ms var(--ease);
}
.faq-item[open] summary svg {
  transform: rotate(180deg);
}
.faq-answer {
  padding-bottom: 22px;
}
.faq-answer p {
  max-width: 68ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  text-align: justify;
  text-align-last: start;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.faq-item summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .faq-item summary svg {
    transition: none;
  }
}
