.dglm-locations {
  --dglm-locations-wine: #7f4f50;
  --dglm-locations-wine-dark: #593638;
  --dglm-locations-rose: #cfa8a8;
  --dglm-locations-blush: #ead9d6;
  --dglm-locations-ivory: #f8f5f0;
  --dglm-locations-paper: #fffdf9;
  --dglm-locations-ink: #332b2a;
  --dglm-locations-muted: #746965;
  --dglm-locations-border: rgba(100, 70, 67, 0.14);
  --dglm-locations-x: 0px;
  --dglm-locations-y: 0px;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 25%),
    var(--dglm-locations-ivory);
  color: var(--dglm-locations-ink);
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

.dglm-locations,
.dglm-locations * {
  box-sizing: border-box;
}

.dglm-locations__ambient {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.dglm-locations__orb,
.dglm-locations__route,
.dglm-locations__map-grid {
  position: absolute;
  display: block;
}

.dglm-locations__orb {
  border-radius: 50%;
  transition: transform 0.8s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.dglm-locations__orb--one {
  top: -360px;
  right: -280px;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(234, 217, 214, 0.68), rgba(234, 217, 214, 0.13) 52%, transparent 71%);
  transform: translate3d(var(--dglm-locations-x), var(--dglm-locations-y), 0);
  animation: dglm-locations-float-one 16s ease-in-out infinite alternate;
}

.dglm-locations__orb--two {
  bottom: -510px;
  left: -370px;
  width: 930px;
  height: 930px;
  background: radial-gradient(circle, rgba(207, 168, 168, 0.18), transparent 69%);
  transform: translate3d(calc(var(--dglm-locations-x) * -0.55), calc(var(--dglm-locations-y) * -0.55), 0);
  animation: dglm-locations-float-two 20s ease-in-out infinite alternate;
}

.dglm-locations__map-grid {
  top: 5%;
  right: -5%;
  width: min(58%, 900px);
  height: 62%;
  opacity: 0.22;
  background-image:
    repeating-linear-gradient(35deg, transparent 0, transparent 67px, rgba(127, 79, 80, 0.055) 68px),
    repeating-linear-gradient(125deg, transparent 0, transparent 93px, rgba(127, 79, 80, 0.045) 94px);
  mask-image: radial-gradient(ellipse, #000, transparent 73%);
  -webkit-mask-image: radial-gradient(ellipse, #000, transparent 73%);
  transform: translate3d(calc(var(--dglm-locations-x) * 0.25), calc(var(--dglm-locations-y) * 0.25), 0);
}

.dglm-locations__route {
  height: 1px;
  border-top: 1px dashed rgba(127, 79, 80, 0.12);
  transform-origin: left center;
}

.dglm-locations__route--one {
  top: 26%;
  left: -8%;
  width: 55%;
  transform: rotate(17deg);
}

.dglm-locations__route--two {
  right: -13%;
  bottom: 19%;
  width: 61%;
  transform: rotate(-13deg);
}

.dglm-locations__route i {
  position: absolute;
  top: -4px;
  left: 0;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(127, 79, 80, 0.5);
  border-radius: 50%;
  background: var(--dglm-locations-paper);
  box-shadow:
    0 0 0 5px rgba(127, 79, 80, 0.05),
    0 0 19px rgba(127, 79, 80, 0.18);
  animation: dglm-locations-route 10s ease-in-out infinite;
}

.dglm-locations__route--two i {
  animation-delay: -4.5s;
  animation-duration: 12s;
}

.dglm-locations__inner {
  width: min(100%, 1460px);
  margin: 0 auto;
  padding: clamp(100px, 10vw, 158px) clamp(24px, 5.2vw, 78px) clamp(88px, 9vw, 140px);
}

.dglm-locations__header {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: clamp(55px, 8vw, 125px);
  margin-bottom: clamp(58px, 7vw, 92px);
}

.dglm-locations__heading,
.dglm-locations__intro {
  min-width: 0;
}

.dglm-locations__eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 25px;
  color: var(--dglm-locations-wine);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.19em;
}

.dglm-locations__eyebrow > span {
  display: block;
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--dglm-locations-wine), rgba(127, 79, 80, 0.16));
}

.dglm-locations__heading h2 {
  max-width: 790px;
  margin: 0;
  color: var(--dglm-locations-ink);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(51px, 5.2vw, 78px);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.038em;
}

.dglm-locations__heading h2 em {
  color: var(--dglm-locations-wine);
  font-weight: 400;
}

.dglm-locations__intro {
  position: relative;
  padding-left: 31px;
  border-left: 1px solid rgba(127, 79, 80, 0.2);
}

.dglm-locations__intro-count {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--dglm-locations-wine);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 32px;
  line-height: 1;
}

.dglm-locations__intro-count small {
  color: #8d817c;
  font-family: "DM Sans", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dglm-locations__intro p {
  margin: 0;
  color: var(--dglm-locations-muted);
  font-size: 14.5px;
  line-height: 1.72;
}

.dglm-locations__intro p + p {
  margin-top: 13px;
}

.dglm-locations__intro strong {
  color: #4b4240;
  font-weight: 600;
}

.dglm-locations__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.dglm-location-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 630px;
  padding: clamp(28px, 3vw, 41px);
  overflow: hidden;
  border: 1px solid var(--dglm-locations-border);
  border-radius: 3px;
  background: rgba(255, 253, 249, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.75, 0.25, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.dglm-location-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--dglm-locations-wine), var(--dglm-locations-rose));
  transition: width 0.55s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.dglm-location-card:hover {
  z-index: 2;
  border-color: rgba(127, 79, 80, 0.24);
  background: rgba(255, 253, 249, 0.98);
  box-shadow: 0 28px 60px rgba(82, 56, 53, 0.1), inset 0 1px 0 #fff;
  transform: translateY(-7px);
}

.dglm-location-card:hover::before {
  width: 100%;
}

.dglm-location-card__shape {
  position: absolute;
  right: -92px;
  bottom: -91px;
  width: 205px;
  height: 205px;
  border: 1px solid rgba(127, 79, 80, 0.07);
  border-radius: 50%;
  transition: transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1), border-color 0.35s ease;
  pointer-events: none;
}

.dglm-location-card__shape i {
  position: absolute;
  inset: 25%;
  border: 1px solid rgba(127, 79, 80, 0.05);
  border-radius: 50%;
}

.dglm-location-card:hover .dglm-location-card__shape {
  border-color: rgba(127, 79, 80, 0.13);
  transform: translate(-13px, -12px) scale(1.08);
}

.dglm-location-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dglm-location-card__number {
  color: var(--dglm-locations-wine);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.dglm-location-card__line {
  width: 35px;
  height: 1px;
  background: rgba(127, 79, 80, 0.2);
}

.dglm-location-card__label {
  color: #a29691;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dglm-location-card h3 {
  position: relative;
  z-index: 1;
  min-height: 79px;
  margin: 34px 0 12px;
  color: var(--dglm-locations-ink);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(31px, 2.5vw, 39px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.026em;
}

.dglm-location-card__type {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--dglm-locations-wine);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.5;
}

.dglm-location-card__details {
  position: relative;
  z-index: 1;
  margin-top: 31px;
  border-top: 1px solid rgba(100, 70, 67, 0.11);
}

.dglm-location-card__detail {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid rgba(100, 70, 67, 0.11);
  font-style: normal;
}

.dglm-location-card__detail small {
  color: #9b8e89;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.dglm-location-card__detail a {
  width: max-content;
  max-width: 100%;
  color: var(--dglm-locations-ink) !important;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 24px;
  line-height: 1.2;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.dglm-location-card__detail a:hover {
  color: var(--dglm-locations-wine) !important;
}

.dglm-location-card__detail span {
  color: var(--dglm-locations-muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.dglm-location-card__actions {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 30px;
}

.dglm-location-card__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 51px;
  padding: 11px 12px 11px 17px;
  border-radius: 2px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.dglm-location-card__button > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  font-size: 11px;
  transition: transform 0.3s ease;
}

.dglm-location-card__button--primary {
  border: 1px solid var(--dglm-locations-wine);
  background: var(--dglm-locations-wine);
  color: #fff !important;
}

.dglm-location-card__button--primary > span {
  background: rgba(255, 255, 255, 0.12);
}

.dglm-location-card__button--secondary {
  border: 1px solid rgba(127, 79, 80, 0.16);
  background: transparent;
  color: var(--dglm-locations-wine) !important;
}

.dglm-location-card__button--secondary > span {
  background: rgba(234, 217, 214, 0.45);
}

.dglm-location-card__button:hover {
  box-shadow: 0 12px 25px rgba(82, 56, 53, 0.11);
  transform: translateY(-2px);
}

.dglm-location-card__button:hover > span {
  transform: rotate(45deg);
}

.dglm-location-card__button--secondary:hover {
  background: rgba(234, 217, 214, 0.24);
}

.dglm-location-card__button:focus-visible,
.dglm-location-card__detail a:focus-visible {
  outline: 2px solid var(--dglm-locations-wine);
  outline-offset: 3px;
}

.dglm-locations__notice {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  max-width: 930px;
  margin: 28px auto 0;
  padding: 18px 21px;
  border: 1px solid rgba(127, 79, 80, 0.1);
  background: rgba(255, 253, 249, 0.58);
  text-align: left;
}

.dglm-locations__notice > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(127, 79, 80, 0.24);
  border-radius: 50%;
  color: var(--dglm-locations-wine);
  font-family: Georgia, serif;
  font-size: 12px;
  font-style: italic;
}

.dglm-locations__notice p {
  margin: 0;
  color: #7c706c;
  font-size: 10.5px;
  line-height: 1.6;
}

.dglm-locations-motion [data-dglm-locations-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.83s cubic-bezier(0.2, 0.75, 0.25, 1),
    transform 0.83s cubic-bezier(0.2, 0.75, 0.25, 1);
  transition-delay: calc(var(--dglm-locations-order, 0) * 105ms + 70ms);
}

.dglm-locations-motion.is-visible [data-dglm-locations-reveal] {
  opacity: 1;
  transform: translateY(0);
}

@keyframes dglm-locations-float-one {
  from { margin-top: -12px; margin-right: -9px; }
  to { margin-top: 16px; margin-right: 14px; }
}

@keyframes dglm-locations-float-two {
  from { margin-bottom: -14px; margin-left: -10px; }
  to { margin-bottom: 18px; margin-left: 15px; }
}

@keyframes dglm-locations-route {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@media (max-width: 1060px) {
  .dglm-locations__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dglm-location-card:last-child {
    grid-column: 1 / -1;
    width: min(100%, 680px);
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .dglm-locations__header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 38px;
  }

  .dglm-locations__intro {
    max-width: 700px;
  }
}

@media (max-width: 680px) {
  .dglm-locations__inner {
    padding: 80px 18px 72px;
  }

  .dglm-locations__header {
    gap: 31px;
    margin-bottom: 48px;
  }

  .dglm-locations__eyebrow {
    gap: 10px;
    margin-bottom: 20px;
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .dglm-locations__eyebrow > span {
    width: 27px;
  }

  .dglm-locations__heading h2 {
    font-size: clamp(43px, 13vw, 58px);
    line-height: 0.99;
  }

  .dglm-locations__intro {
    padding-left: 19px;
  }

  .dglm-locations__intro p {
    font-size: 14px;
  }

  .dglm-locations__grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .dglm-location-card,
  .dglm-location-card:last-child {
    grid-column: auto;
    width: 100%;
    min-height: 0;
    padding: 27px 24px;
  }

  .dglm-location-card h3 {
    min-height: 0;
    margin-top: 29px;
    font-size: 34px;
  }

  .dglm-location-card__details {
    margin-top: 27px;
  }

  .dglm-location-card__actions {
    margin-top: 0;
  }

  .dglm-location-card__button {
    font-size: 8.5px;
  }

  .dglm-locations__notice {
    margin-top: 20px;
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dglm-locations *,
  .dglm-locations *::before,
  .dglm-locations *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .dglm-locations-motion [data-dglm-locations-reveal] {
    opacity: 1;
    transform: none;
  }
}

