/* TMO_BUNDLED_FONT — local assets, font-display: swap */









:root {
  --font-display: "Rasa", Georgia, "Times New Roman", serif;
  --font-body: "Trebuchet MS", "Segoe UI", sans-serif;
  --blue: #173b8f;
  --blue-deep: #102b6a;
  --paper: #f3e8d0;
  --paper-light: #f8f0df;
  --red: #c84632;
  --yellow: #e4b84a;
  --charcoal: #241f1b;
  --white: #fffaf0;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 5rem;
  --space-7: 8rem;
  --radius-contact: 2.75rem;
  --border: 2px solid currentColor;
  --text-width: 38rem;
  --tmo-menu-category-gap: 2.5rem;
  --tmo-menu-item-gap: 0.75rem;
  --tmo-gallery-columns: 12;
  --tmo-gallery-gap: 1.25rem;
  --tmo-gallery-ratio: 4 / 3;
  --tmo-gallery-item-radius: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--paper);
  font-family: Cantarell, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  overflow-x: clip;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.site-header {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 2rem;
  padding: 1rem clamp(1rem, 4vw, 4.5rem);
  color: var(--paper);
  background: var(--blue);
  border-bottom: 2px solid var(--red);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  color: var(--paper);
  font-family: Cantarell, system-ui, sans-serif;
  font-size: clamp(1.2rem, 1.7vw, 1.65rem);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--blue);
  background: var(--yellow);
  border-radius: 50%;
  font-family: Cantarell, system-ui, sans-serif;
  font-size: 1.4rem;
}

.section-tabs {
  display: flex;
  justify-content: flex-end;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.section-tabs::-webkit-scrollbar {
  display: none;
}

.section-tabs a {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.75rem 0;
  color: var(--paper);
  font-size: 0.82rem;
  text-decoration: none;
  scroll-snap-align: start;
}

.section-tabs a:hover {
  color: var(--yellow);
}

.entry-section {
  position: relative;
  min-height: min(800px, calc(100vh - 5rem));
  padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 6vw, 7rem) clamp(3rem, 6vw, 6rem);
  color: var(--paper);
  background: var(--blue);
}

.entry-frame {
  display: grid;
  grid-template-columns: minmax(16rem, 38%) minmax(0, 62%);
  align-items: center;
  max-width: 88rem;
  min-height: 620px;
  margin: 0 auto;
  border: 1px solid rgba(243, 232, 208, 0.65);
}

.entry-copy {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 4vw, 4rem) clamp(1rem, 4vw, 4rem);
}

.origin-line {
  margin: 0 0 1.25rem;
  color: var(--yellow);
  font-family: Cantarell, system-ui, sans-serif;
  font-size: clamp(1.5rem, 2.3vw, 2.5rem);
  line-height: 1;
}

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

h1,
h2,
h3 {
  font-family: Rasa, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 7ch;
  margin-bottom: 1.5rem;
  color: var(--paper);
  font-size: clamp(3.25rem, 6vw, 6.5rem);
}

.entry-subtitle {
  max-width: 22rem;
  margin-bottom: 1rem;
  color: var(--paper);
  font-family: Cantarell, system-ui, sans-serif;
  font-size: clamp(1.45rem, 2.3vw, 2.2rem);
  line-height: 1.05;
}

.entry-text {
  max-width: 29rem;
  margin-bottom: 2rem;
  color: rgba(243, 232, 208, 0.86);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
}

.phone-link {
  display: inline-grid;
  gap: 0.2rem;
  min-height: 44px;
  color: var(--paper);
  text-decoration: none;
}

.phone-link span {
  color: var(--yellow);
  font-size: 0.8rem;
}

.phone-link strong {
  font-family: Cantarell, system-ui, sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1;
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 620px;
  margin: 2.5rem -7rem 2.5rem 0;
  overflow: hidden;
  border: 1px solid var(--paper);
  background: var(--blue-deep);
  box-shadow: -1.2rem 1.2rem 0 var(--red);
}

.hero-media::before,
.hero-media::after {
  position: absolute;
  z-index: 1;
  display: block;
  content: "";
  pointer-events: none;
}

.hero-media::before {
  inset: 1rem;
  border: 1px solid rgba(243, 232, 208, 0.7);
}

.hero-media::after {
  right: 1.5rem;
  bottom: 1.5rem;
  width: 3rem;
  height: 3rem;
  border-right: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
  animation: oven-arrival 500ms cubic-bezier(.2, .8, .2, 1) both;
}

.entry-next {
  display: block;
  width: fit-content;
  margin: 3rem auto 0;
  color: var(--paper);
  font-family: Cantarell, system-ui, sans-serif;
  font-size: 1.25rem;
  text-decoration: none;
}

.entry-next span {
  display: inline-block;
  margin-left: 0.7rem;
  color: var(--yellow);
}

.choice-section {
  position: relative;
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 6vw, 7rem);
  background: var(--paper);
}

.section-heading {
  width: min(30rem, 65%);
  margin: 0 auto 3rem;
  text-align: center;
}

.section-index {
  margin-bottom: 1rem;
  color: var(--red);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(3rem, 6vw, 6.5rem);
}

.section-heading h2 {
  margin-bottom: 0;
}

.choice-track {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(15rem, 0.8fr);
  align-items: end;
  max-width: 76rem;
  margin: 0 auto;
  border-bottom: 2px solid var(--charcoal);
}

.product-choice {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 19rem;
  padding: clamp(1.5rem, 4vw, 4rem);
  color: var(--paper);
  text-align: left;
  border: 0;
  border-top: 2px solid var(--red);
  cursor: pointer;
  transition: border-color 220ms ease, transform 220ms ease, background-color 220ms ease;
}

.product-choice:hover,
.product-choice:focus-visible {
  transform: translateY(-0.35rem);
}

.product-pizza {
  background: var(--blue);
}

.product-cecina {
  min-height: 14rem;
  margin-left: -2rem;
  background: var(--red);
  border-left: 2px solid var(--paper);
}

.product-choice.is-active {
  border-top-color: var(--yellow);
}

.product-name {
  font-family: Cantarell, system-ui, sans-serif;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.9;
}

.product-description {
  max-width: 20rem;
  margin-top: 2rem;
  font-size: 1rem;
}

.product-arrow {
  position: absolute;
  right: 2rem;
  bottom: 1.5rem;
  color: var(--yellow);
  font-size: 2rem;
}

.choice-connector {
  position: absolute;
  right: 8%;
  bottom: 2.5rem;
  left: 8%;
  height: 2px;
  background: var(--red);
  pointer-events: none;
}

.menu-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(14rem, 0.75fr) minmax(20rem, 1.25fr);
  gap: clamp(3rem, 9vw, 10rem);
  padding: clamp(5rem, 9vw, 9rem) clamp(1rem, 8vw, 10rem);
  background: var(--blue-deep);
  color: var(--paper);
}

.menu-intro {
  align-self: start;
  padding-top: 1rem;
}

.menu-intro h2 {
  margin-bottom: 2rem;
  color: var(--paper);
}

.menu-intro > p:last-child {
  max-width: 20rem;
  color: rgba(243, 232, 208, 0.8);
}

.menu-sheet {
  position: relative;
  padding: clamp(1.5rem, 4vw, 4rem);
  color: var(--charcoal);
  background: var(--paper-light);
  border-top: 0.75rem solid var(--yellow);
  border-bottom: 1rem solid var(--red);
}

.menu-sheet-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--charcoal);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.menu-group {
  padding: var(--tmo-menu-category-gap) 0 0;
}

.menu-group + .menu-group {
  border-top: 1px solid rgba(36, 31, 27, 0.35);
}

.menu-group h3 {
  margin-bottom: var(--tmo-menu-item-gap);
  color: var(--blue);
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.menu-group p {
  max-width: 35rem;
  margin-bottom: 0;
  font-size: 1rem;
}

.menu-group-cecina {
  transition: transform 220ms ease;
}

.menu-sheet[data-active="cecina"] .menu-group-cecina {
  transform: translateX(0.8rem);
}

.sheet-call {
  display: inline-block;
  margin-top: 3rem;
  padding: 0.8rem 1rem;
  color: var(--paper);
  background: var(--red);
  font-family: Cantarell, system-ui, sans-serif;
  font-size: 1.35rem;
  text-decoration: none;
}

.history-section {
  display: grid;
  grid-template-columns: minmax(10rem, 0.65fr) minmax(15rem, 1fr) minmax(13rem, 0.7fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  padding: clamp(5rem, 11vw, 11rem) clamp(1rem, 8vw, 10rem);
  background: var(--paper);
}

.history-year {
  color: var(--blue);
  font-family: Cantarell, system-ui, sans-serif;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
}

.history-copy h2 {
  margin-bottom: 2rem;
  color: var(--blue);
}

.history-copy > p:last-child {
  max-width: var(--text-width);
  margin-bottom: 0;
}

.history-media {
  min-width: 0;
}

.tmo-contextual-media {
  width: 100%;
  min-height: 12rem;
  border: 2px solid var(--blue);
  background: var(--paper-light);
}

.tmo-contextual-media[data-tmo-media-state="NO_IMAGE"],
.tmo-contextual-media.tmo-no-media {
  display: none;
}

.tmo-contextual-media img,
.tmo-runtime-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
}

.gallery-section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 6vw, 7rem);
  background: var(--paper-light);
}

.gallery-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto 3rem;
}

.gallery-heading h2 {
  margin-bottom: 0;
  color: var(--blue);
}

.gallery-heading > p:last-child {
  max-width: 23rem;
  margin-bottom: 0;
}

.tmo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(var(--tmo-gallery-columns), minmax(0, 1fr));
  gap: var(--tmo-gallery-gap);
  max-width: 86rem;
  margin: 0 auto;
}

.tmo-gallery-item {
  min-width: 0;
  overflow: hidden;
  border: 2px solid var(--blue);
  border-radius: var(--tmo-gallery-item-radius);
}

.gallery-item-large {
  grid-column: 1 / span 7;
}

.gallery-item-small {
  grid-column: 8 / span 5;
  align-self: end;
}

.tmo-gallery-item[data-tmo-media-state="NO_IMAGE"],
.tmo-gallery-item.tmo-no-media {
  display: none;
}

.tmo-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
}

.contact-section {
  position: relative;
  padding: clamp(4rem, 7vw, 7rem) clamp(1rem, 8vw, 10rem);
  color: var(--paper);
  background: var(--blue);
  border-top: 2px solid var(--red);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(18rem, 1.2fr);
  gap: clamp(3rem, 10vw, 12rem);
  max-width: 88rem;
  margin: 0 auto;
}

.contact-lead h2 {
  margin-bottom: 0;
  color: var(--paper);
}

.contact-details {
  position: relative;
  padding-top: 1rem;
}

.contact-phone {
  position: relative;
  display: grid;
  gap: 0.4rem;
  width: fit-content;
  min-height: 44px;
  margin-top: -5.5rem;
  margin-bottom: 3.5rem;
  padding: 1.3rem 2rem;
  color: var(--charcoal);
  background: var(--yellow);
  border-radius: var(--radius-contact);
  text-decoration: none;
  box-shadow: 0 0.7rem 0 var(--red);
}

.contact-phone span {
  font-size: 0.78rem;
}

.contact-phone strong {
  font-family: Cantarell, system-ui, sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  line-height: 0.95;
}

address {
  margin-bottom: 2rem;
  color: var(--paper);
  font-family: Cantarell, system-ui, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-style: normal;
  line-height: 1;
}

.map-link {
  display: inline-block;
  min-height: 44px;
  color: var(--paper);
  font-size: 1rem;
  text-decoration-color: var(--yellow);
  text-underline-offset: 0.3rem;
}

.map-link span {
  color: var(--yellow);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1rem, 4vw, 4.5rem);
  color: var(--paper);
  background: var(--blue-deep);
  font-size: 0.78rem;
}

@keyframes oven-arrival {
  from {
    opacity: 0.75;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

  .section-tabs {
    justify-content: flex-start;
    margin-inline: -1rem;
    padding-inline: 1rem;
  }

  .entry-section {
    padding-top: 2.5rem;
  }

  .entry-frame {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .entry-copy {
    padding-bottom: 2.5rem;
  }

  .hero-media {
    min-height: 480px;
    margin: 0 -1.5rem 1.5rem 1.5rem;
  }

  .hero-media img {
    min-height: 480px;
  }

  .menu-section,
  .history-section,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .menu-section {
    gap: 3rem;
  }

  .history-media {
    max-width: 24rem;
  }

  .contact-phone {
    margin-top: -2rem;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 0.8rem 1rem 0;
  }

  .brand {
    font-size: 1.2rem;
  }

  .section-tabs {
    gap: 1.35rem;
  }

  .section-tabs a {
    font-size: 0.76rem;
  }

  .entry-section {
    min-height: 0;
    padding: 2.5rem 1rem 3rem;
  }

  .entry-frame {
    border-width: 1px;
  }

  .entry-copy {
    padding: 1.5rem 1rem 1.75rem;
  }

  .origin-line {
    margin-bottom: 0.85rem;
    font-size: 1.45rem;
  }

  h1 {
    max-width: 8ch;
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 5.5vw, 7rem);
  }

  .entry-subtitle {
    max-width: 17rem;
    font-size: 1.45rem;
  }

  .entry-text {
    margin-bottom: 1.5rem;
    font-size: 0.98rem;
  }

  .hero-media {
    min-height: 360px;
    margin: 0 -1rem 1rem 1rem;
    box-shadow: -0.55rem 0.55rem 0 var(--red);
  }

  .hero-media img {
    min-height: 360px;
  }

  .hero-media::before {
    inset: 0.65rem;
  }

  .entry-next {
    margin-top: 2rem;
    font-size: 1.1rem;
  }

  .choice-section {
    padding: 4rem 0 4.5rem;
  }

  .section-heading {
    width: auto;
    margin: 0 1rem 2rem;
    text-align: left;
  }

  .section-heading h2 {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }

  .choice-track {
    display: flex;
    width: 100%;
    gap: 0.75rem;
    padding: 0 1rem 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    border-bottom: 0;
    scrollbar-width: none;
  }

  .choice-track::-webkit-scrollbar {
    display: none;
  }

  .product-choice {
    flex: 0 0 82%;
    min-height: 16rem;
    padding: 1.5rem;
    scroll-snap-align: start;
  }

  .product-cecina {
    min-height: 13rem;
    margin-left: 0;
  }

  .product-name {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .choice-connector {
    right: 1rem;
    bottom: 2.2rem;
    left: 1rem;
  }

  .menu-section {
    display: block;
    padding: 4.5rem 1rem 5.5rem;
  }

  .menu-intro {
    padding: 0;
  }

  .menu-intro h2 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .menu-sheet {
    margin-top: 2.5rem;
    padding: 1.3rem 1.2rem 1.6rem;
  }

  .menu-sheet-top {
    font-size: 0.65rem;
  }

  .menu-group {
    padding-top: 2rem;
  }

  .menu-group h3 {
    font-size: 2.25rem;
  }

  .sheet-call {
    margin-top: 2.25rem;
    font-size: 1.2rem;
  }

  .history-section {
    gap: 2.5rem;
    padding: 5rem 1rem;
  }

  .history-year {
    font-size: clamp(4.2rem, 22vw, 7rem);
  }

  .history-copy h2 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .history-media {
    max-width: none;
  }

  .gallery-section {
    padding: 4rem 1rem;
  }

  .gallery-heading {
    display: block;
    margin-bottom: 2rem;
  }

  .gallery-heading h2 {
    margin-bottom: 1.5rem;
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .tmo-gallery-grid {
    display: block;
  }

  .tmo-gallery-item + .tmo-gallery-item {
    margin-top: 1rem;
  }

  .contact-section {
    padding: 4.5rem 1rem 4rem;
  }

  .contact-lead h2 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .contact-details {
    padding-top: 0;
  }

  .contact-phone {
    width: 100%;
    margin-top: 0;
    margin-bottom: 2.75rem;
    padding: 1.2rem 1.4rem;
  }

  .contact-phone strong {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  address {
    font-size: 2rem;
  }

  .site-footer {
    display: block;
    padding: 1.2rem 1rem;
  }

  .site-footer span {
    display: block;
  }

  .site-footer span + span {
    margin-top: 0.35rem;
  }
}

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

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