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














:root {
  --oxblood: #241216;
  --ivory: #f2e8d5;
  --olive: #657044;
  --amber: #c89545;
  --muted-ivory: #cbbfac;
  --line: rgba(242, 232, 213, .42);
  --font-display: "Yrsa", Georgia, serif;
  --font-body: "URW Gothic", "Century Gothic", sans-serif;
  --content-wide: 1440px;
  --content-readable: 58ch;
  --space-section: clamp(5rem, 10vw, 10rem);
  --tmo-menu-category-gap: 2rem;
  --tmo-menu-item-gap: 1rem;
  --tmo-gallery-columns: 1;
  --tmo-gallery-gap: 1.5rem;
  --tmo-gallery-ratio: 16 / 8;
  --tmo-gallery-item-radius: 0;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ivory);
  background: var(--oxblood);
  font-family: Yrsa, Georgia, serif;
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 5px;
}

.site-axis {
  position: fixed;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: clamp(1rem, 8vw, 9rem);
  width: 14px;
  background: var(--amber);
  pointer-events: none;
  opacity: .95;
}

.dossier-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(12rem, 40%) minmax(0, 60%);
  min-height: min(840px, 100vh);
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4.5rem) clamp(2rem, 7vw, 8rem) clamp(3rem, 6vw, 6rem);
  gap: clamp(2rem, 5vw, 5rem);
}

.dossier-rail {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-left: clamp(1.5rem, 3vw, 3.5rem);
}

.brand {
  width: max-content;
  font-family: Yrsa, Georgia, serif;
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  line-height: .82;
  text-decoration: none;
}

.index-rail {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: auto;
  margin-bottom: auto;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  width: min(12rem, 100%);
}

.index-rail a {
  position: relative;
  width: max-content;
  color: var(--muted-ivory);
  font-size: .78rem;
  letter-spacing: .04em;
  text-decoration: none;
  transition: color .24s ease, transform .24s ease;
}

.index-rail a::before {
  content: "";
  position: absolute;
  left: -1.2rem;
  top: 50%;
  width: .45rem;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}

.index-rail a:hover,
.index-rail a:focus-visible {
  color: var(--ivory);
  transform: translateX(.25rem);
}

.index-rail a:hover::before,
.index-rail a:focus-visible::before {
  transform: scaleX(1);
}

.rail-address {
  margin: 0;
  color: var(--muted-ivory);
  font-size: .78rem;
  line-height: 1.35;
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  padding: 4rem 0 3rem;
}

.hero-category,
.section-kicker,
.contact-title {
  margin: 0 0 1.1rem;
  color: var(--amber);
  font-size: clamp(2.5rem, 5.5vw, 7rem);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 8ch;
  margin: 0 0 2rem;
  font-family: URW Gothic, system-ui, sans-serif;
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 600;
  line-height: .78;
  letter-spacing: -.045em;
}

.hero-intro {
  max-width: 30ch;
  margin: 0 0 2rem;
  color: var(--muted-ivory);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.button-primary {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.35rem;
  border: 1px solid var(--amber);
  color: var(--oxblood);
  background: var(--amber);
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-decoration: none;
  transition: background .24s ease, color .24s ease, border-color .24s ease;
}

.button-primary:hover,
.button-primary:focus-visible {
  color: var(--ivory);
  background: transparent;
}

.hero-figure {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(730px, 82vh);
  margin: 0;
  transform: translateX(3vw);
}

.hero-figure::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 7%;
  right: -8%;
  bottom: 0;
  width: 14px;
  background: var(--amber);
}

.hero-figure img {
  width: 100%;
  height: min(680px, 76vh);
  object-fit: cover;
  object-position: center 58%;
  border-radius: 0 0 0 22%;
  animation: catalogue-arrival .7s cubic-bezier(.2, .8, .2, 1) both;
}

.hero-figure figcaption {
  margin-top: .75rem;
  color: var(--muted-ivory);
  font-size: .72rem;
  letter-spacing: .04em;
}

.carta-section {
  position: relative;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-section) clamp(2rem, 14vw, 15rem) var(--space-section) clamp(5rem, 24vw, 29rem);
}

.section-index {
  color: var(--amber);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.carta-content {
  display: grid;
  grid-template-columns: minmax(12rem, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
  margin-top: 1.5rem;
}

.section-heading h2,
.gallery-intro h2,
.booking-copy h2 {
  margin: 0;
  font-family: URW Gothic, system-ui, sans-serif;
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 400;
  line-height: .78;
  letter-spacing: -.05em;
}

.carta-text {
  max-width: var(--content-readable);
  padding-bottom: .35rem;
}

.carta-text p {
  max-width: 48ch;
  margin: 0 0 1.5rem;
  color: var(--muted-ivory);
}

.text-link {
  display: inline-flex;
  gap: .7rem;
  align-items: center;
  border-bottom: 1px solid var(--amber);
  padding-bottom: .2rem;
  color: var(--ivory);
  font-size: .86rem;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--amber);
}

.carta-rule {
  height: 1px;
  margin-top: clamp(3rem, 7vw, 7rem);
  background: var(--line);
}

.carta-note {
  max-width: 32ch;
  margin: 1.2rem 0 0 auto;
  color: var(--muted-ivory);
  font-size: .78rem;
}

.gallery-section {
  position: relative;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-section) clamp(2rem, 8vw, 9rem);
  background: var(--oxblood);
}

.gallery-section[hidden] {
  display: none;
}

.gallery-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line);
}

.gallery-intro {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(14rem, 1fr);
  gap: 2rem 7vw;
  align-items: end;
  margin-bottom: 3rem;
}

.gallery-intro .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

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

.gallery-intro > p:last-child {
  max-width: 34ch;
  margin: 0;
  color: var(--muted-ivory);
}

.tmo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(var(--tmo-gallery-columns), minmax(0, 1fr));
  gap: var(--tmo-gallery-gap);
}

.tmo-gallery-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--tmo-gallery-item-radius);
}

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

.visita-section {
  position: relative;
  background: var(--olive);
}

.visita-band {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: clamp(2rem, 7vw, 8rem);
  align-items: start;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 8vw, 9rem);
}

.visita-address h2 {
  margin: 0;
  font-family: URW Gothic, system-ui, sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.04em;
}

.visita-address p {
  margin: .5rem 0 2rem;
}

.light-link {
  color: var(--ivory);
}

.visita-contact {
  justify-self: end;
  min-width: min(100%, 15rem);
}

.contact-title {
  margin-bottom: .4rem;
  color: var(--ivory);
}

.visita-contact > a {
  font-family: Yrsa, Georgia, serif;
  font-size: 1.55rem;
  text-decoration: none;
}

.social-title {
  margin-top: 2rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links a {
  border-bottom: 1px solid var(--ivory);
  padding-bottom: .15rem;
  font-size: .82rem;
  text-decoration: none;
}

.prenotazione-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 10rem) clamp(2rem, 13vw, 15rem) clamp(4rem, 8vw, 8rem) clamp(5rem, 18vw, 21rem);
}

.prenotazione-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: clamp(2rem, 8vw, 9rem);
  width: 14px;
  height: calc(100% + 1px);
  background: var(--amber);
}

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

.booking-action {
  justify-self: end;
  padding-bottom: .3rem;
}

.button-large {
  min-width: 15rem;
  min-height: 4rem;
}

.booking-action p {
  margin: 1.1rem 0 0;
  color: var(--muted-ivory);
  font-size: .8rem;
}

.booking-action p a {
  color: var(--ivory);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 1.5rem clamp(2rem, 8vw, 9rem) 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted-ivory);
  font-size: .72rem;
}

.site-footer p {
  margin: 0;
}

@keyframes catalogue-arrival {
  from {
    opacity: 0;
    transform: translateY(16px) scale(1.025);
    object-position: center 45%;
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    object-position: center 58%;
  }
}

@media (max-width: 800px) {
  :root {
    --tmo-gallery-columns: 1;
  }

  .site-axis {
    position: absolute;
    left: 16px;
    width: 8px;
  }

  .dossier-hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 1.5rem 1.25rem 3rem 2.25rem;
    gap: 0;
  }

  .dossier-rail {
    min-height: auto;
    padding: 0;
  }

  .brand {
    font-size: 2rem;
  }

  .index-rail {
    position: relative;
    flex-direction: row;
    width: calc(100vw - 3.5rem);
    max-width: none;
    gap: 1.35rem;
    margin: 1.8rem 0 0;
    padding: .8rem 0;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--amber) transparent;
  }

  .index-rail a {
    flex: 0 0 auto;
    font-size: .74rem;
  }

  .index-rail a::before {
    display: none;
  }

  .rail-address {
    display: none;
  }

  .hero-copy {
    padding: 3.8rem 0 2rem;
  }

  .hero-category {
    max-width: 28ch;
    margin-bottom: 1rem;
    font-size: .68rem;
  }

  .hero-copy h1 {
    max-width: 7ch;
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 5.5vw, 7rem);
    line-height: .8;
  }

  .hero-intro {
    margin-bottom: 1.5rem;
    font-size: 1rem;
  }

  .hero-figure {
    min-height: 0;
    margin: 0;
    transform: none;
  }

  .hero-figure::before {
    top: 5%;
    right: -1.25rem;
    bottom: 2.2rem;
    width: 8px;
  }

  .hero-figure img {
    height: 47vh;
    min-height: 340px;
    max-height: 470px;
    border-radius: 0 0 0 18%;
  }

  .hero-figure figcaption {
    margin-top: .65rem;
  }

  .carta-section,
  .gallery-section {
    padding: 5.5rem 1.25rem 5.5rem 2.25rem;
  }

  .carta-content {
    display: block;
    margin-top: 1.2rem;
  }

  .section-heading h2 {
    margin-bottom: 2.6rem;
    font-size: clamp(3.5rem, 18vw, 6rem);
  }

  .carta-text p {
    margin-bottom: 1.4rem;
  }

  .carta-rule {
    margin-top: 3.5rem;
  }

  .carta-note {
    margin-left: 0;
  }

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

  .gallery-intro h2 {
    margin: 1.2rem 0 2rem;
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .gallery-intro > p:last-child {
    max-width: 30ch;
  }

  .visita-band {
    display: block;
    padding: 3.5rem 1.25rem 3.5rem 2.25rem;
  }

  .visita-address h2 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .visita-contact {
    margin-top: 3rem;
  }

  .prenotazione-section {
    display: block;
    padding: 5.5rem 1.25rem 4.5rem 2.25rem;
  }

  .prenotazione-section::before {
    left: 16px;
    width: 8px;
  }

  .booking-copy h2 {
    margin-bottom: 3rem;
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .booking-action {
    justify-self: auto;
  }

  .button-large {
    width: 100%;
  }

  .site-footer {
    display: block;
    padding: 1.5rem 1.25rem 2rem 2.25rem;
  }

  .site-footer p + p {
    margin-top: .4rem;
  }
}

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

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