.desk-hero {
  position: relative;
  height: clamp(38rem, 100svh, 60rem);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a0508;
  color: #fff8e6;
  overflow: hidden;
  padding-block: 6.5rem calc(clamp(60px, 10vw, 130px) + 2rem);
  text-align: center;
}

.desk-hero__strata {
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: 3;
  height: clamp(60px, 10vw, 130px);
}

.desk-hero__photo {
  position: absolute;
  inset: -12% 0;
}

.desk-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.desk-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 50% 55%, rgba(26, 5, 8, 0.72), rgba(26, 5, 8, 0.35) 75%),
    linear-gradient(0deg, rgba(26, 5, 8, 0.9) 0%, rgba(26, 5, 8, 0) 40%);
}

.desk-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.desk-hero__title {
  margin: 0.7rem 0 1.3rem;
  max-width: 10em;
  font-family: "Piazzolla", Georgia, serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 6vw + 0.6rem, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.desk-hero__lead {
  max-width: 36rem;
  font-size: 1.125rem;
}

.branches {
  background: #f7e8c0;
  padding-block: 4rem 4.5rem;
  scroll-margin-top: 4rem;
}

.branches__title {
  margin-bottom: 2.25rem;
  font-family: "Piazzolla", Georgia, serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 4.6vw + 1rem, 4.9rem);
  line-height: 1.04;
  color: #7e0626;
  text-align: center;
}

.branches__list {
  display: grid;
  gap: 1.1rem;
}

.branch {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.1rem 1.4rem 1.6rem;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255, 210, 140, 0.18), transparent 60%),
    #a80a33;
  color: #fff3dc;
  text-align: center;
  clip-path: polygon(0 0, calc(50% - 14px) 0, 50% 14px, calc(50% + 14px) 0, 100% 0, 100% 100%, 0 100%);
  scroll-margin-top: 5rem;
}

.branch__seal {
  width: 0.8rem;
  height: 0.7rem;
  margin-bottom: 0.7rem;
  background: #e8b04a;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.branch__name {
  font-family: "Piazzolla", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1.1;
}

.branch__address {
  margin-top: 0.4rem;
}

.branch__hours {
  margin-top: 0.3rem;
  font-size: 0.9375rem;
}

.branch__rule {
  width: 3rem;
  height: 1px;
  margin: 1.1rem 0 1rem;
  background: rgba(255, 223, 158, 0.6);
}

.branch__tel {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 3.5rem;
  padding: 0.35rem 1.4rem 0.35rem 0.35rem;
  border-radius: 999px;
  background: #fff3dc;
  color: #7e0626;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  transition: background-color 0.3s, color 0.3s;
}

.branch__tel:hover {
  background: #e8b04a;
  color: #1a0508;
}

.branch__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: #a80a33;
  color: #fff3dc;
}

.branch__ring .icon {
  width: 1.2rem;
  height: 1.2rem;
}

.branch__map {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  margin-top: 0.6rem;
  border-bottom: 1px solid rgba(255, 243, 220, 0.6);
}

.order {
  position: relative;
  background: #1a0508;
  color: #fbefd2;
  padding-block: 4rem 4.5rem;
  scroll-margin-top: 3rem;
  overflow: hidden;
}

.order__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.order__title {
  margin: 0.7rem 0 1.3rem;
  font-family: "Piazzolla", Georgia, serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 4.6vw + 1rem, 4.9rem);
  line-height: 1.04;
}

.order__lead {
  max-width: 36rem;
  color: #f0dfb9;
}

.marquee--occasions {
  margin-block: 2.5rem 1rem;
  transform: rotate(-2deg);
}

.marquee--occasions .marquee__row {
  padding-block: 0.5rem;
  background: #a80a33;
  color: #fff3dc;
}

.marquee--occasions .marquee__row--rev {
  background: #e8b04a;
  color: #1a0508;
}

.marquee--occasions .marquee__item {
  font-family: "Piazzolla", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.4rem, 4vw, 2.4rem);
}

.order__stage {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
}

.order__box {
  position: relative;
  width: min(100%, 34rem);
  justify-self: center;
}

.order__box::before {
  content: "";
  position: absolute;
  inset: 18% 10% 4%;
  background: radial-gradient(50% 50% at 50% 60%, rgba(232, 176, 74, 0.45), transparent 70%);
  filter: blur(18px);
}

.order__box picture {
  position: relative;
  display: block;
}

.duo {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: min(100% - 2.5rem, 46rem);
  margin: 3.5rem auto 1rem;
  padding-bottom: 2.5rem;
}

.duo__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(168, 10, 51, 0.45), rgba(168, 10, 51, 0) 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.duo__photo {
  position: relative;
  margin: 0;
}

.duo__photo--b {
  margin-top: 2.5rem;
}

.duo__frame {
  display: block;
  padding: 6px;
  border-radius: 1.25rem;
  background: #fbefd2;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(232, 176, 74, 0.35);
  transition: rotate 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), scale 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.duo__photo--a .duo__frame {
  rotate: -3.5deg;
}

.duo__photo--b .duo__frame {
  rotate: 3deg;
}

.duo__frame picture,
.duo__frame img {
  display: block;
  width: 100%;
}

.duo__frame img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: calc(1.25rem - 6px);
}

.duo__photo:hover .duo__frame {
  rotate: 0deg;
  scale: 1.02;
}

.duo__tri {
  position: absolute;
  width: 0.8rem;
  height: 0.7rem;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: #e8b04a;
  pointer-events: none;
}

.duo__tri--1 {
  left: -0.5rem;
  top: 12%;
}

.duo__tri--2 {
  right: -0.25rem;
  top: 0;
  width: 0.6rem;
  height: 0.52rem;
  background: #e5254b;
}

.duo__tri--3 {
  left: 48%;
  bottom: 0;
  width: 0.6rem;
  height: 0.52rem;
}

@media (min-width: 768px) {
  .duo {
    gap: clamp(1.75rem, 4vw, 3.5rem);
    margin-top: 5rem;
    padding-bottom: 4rem;
  }

  .duo__photo--b {
    margin-top: 4.5rem;
  }

  .duo__frame {
    padding: 8px;
    border-radius: 1.5rem;
  }

  .duo__frame img {
    border-radius: calc(1.5rem - 8px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .duo__tri {
    animation: duo-drift 6s ease-in-out infinite alternate;
  }

  .duo__tri--2 {
    animation-duration: 7.5s;
    animation-direction: alternate-reverse;
  }

  @keyframes duo-drift {
    from {
      translate: 0 0;
      rotate: -15deg;
    }

    to {
      translate: 0 -12px;
      rotate: 20deg;
    }
  }
}

.order__call {
  width: min(100%, 30rem);
  justify-self: center;
  padding: 1.6rem 1.4rem 1.4rem;
  background: #fbf2d9;
  color: #2a0e0c;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, calc(50% + 14px) 100%, 50% calc(100% - 14px), calc(50% - 14px) 100%, 0 100%);
}

.order__call-title {
  margin-bottom: 0.9rem;
  font-family: "Piazzolla", Georgia, serif;
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1.15;
  color: #7e0626;
}

.order__lines a {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  min-height: 3rem;
  padding-block: 0.55rem;
  border-top: 1px dashed rgba(126, 6, 38, 0.35);
  transition: color 0.25s;
}

.order__lines a:hover {
  color: #a80a33;
}

.order__dots {
  flex: 1;
  border-bottom: 2px dotted rgba(126, 6, 38, 0.35);
  transform: translateY(-0.3em);
}

.order__lines strong {
  font-weight: 600;
  color: #a80a33;
}

.order__note {
  margin-top: 1rem;
  font-size: 0.9375rem;
}

.mailcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3.5rem;
  text-align: center;
}

.mailcard__rule {
  width: 4rem;
  height: 1px;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, transparent, #e8b04a, transparent);
}

.mailcard__title {
  font-family: "Piazzolla", Georgia, serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.5rem, 4.4vw, 2.3rem);
  line-height: 1.15;
  color: #ffd98c;
}

.mailcard__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  margin-top: 1rem;
  padding: 0.6rem 0.2rem;
  font-family: "Piazzolla", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 4.6vw, 2.3rem);
  color: #fbefd2;
}

.mailcard__link:hover {
  color: #ffdf9e;
}

.mailcard__icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex: none;
  border-radius: 50%;
  background: #a80a33;
  color: #fff3dc;
}

.mailcard__addr {
  overflow-wrap: anywhere;
}

@media (min-width: 768px) {
  .branches {
    padding-block: 5rem;
  }

  .branches__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .branch__tel {
    font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  }

  .order {
    padding-block: 5.5rem 6rem;
  }

  .order__stage {
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
  }

  .mailcard {
    margin-top: 5rem;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .branch {
    padding-inline: 0.9rem;
  }

  .branch__name {
    font-size: 2rem;
  }

  .branch__tel {
    padding-right: 1rem;
    gap: 0.5rem;
  }

  .branch__ring {
    width: 2.4rem;
    height: 2.4rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .branch__ring::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1.5px solid #e8b04a;
    border-radius: 50%;
    animation: ring-pulse 1.7s cubic-bezier(0.3, 0, 0.3, 1) infinite;
  }

  @keyframes ring-pulse {
    from {
      opacity: 0.9;
      transform: scale(1);
    }

    to {
      opacity: 0;
      transform: scale(1.28);
    }
  }

  .order__box picture {
    animation: box-float 6s ease-in-out infinite;
  }

  @keyframes box-float {
    0%,
    100% {
      transform: translateY(0) rotate(-1.5deg);
    }

    50% {
      transform: translateY(-14px) rotate(1deg);
    }
  }

}

@media (min-width: 1025px) {
  .order__box {
    top: 30px;
  }
}
