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

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

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

.dglm-welcome__orb,
.dglm-welcome__contour {
  position: absolute;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 0.75, 0.25, 1);
  will-change: transform;
}

.dglm-welcome__orb {
  border-radius: 50%;
  filter: blur(1px);
}

.dglm-welcome__orb--one {
  top: -340px;
  right: -210px;
  width: 670px;
  height: 670px;
  background: radial-gradient(circle, rgba(234, 217, 214, 0.68) 0%, rgba(234, 217, 214, 0.18) 48%, transparent 72%);
  transform: translate3d(var(--dglm-welcome-x), var(--dglm-welcome-y), 0);
  animation: dglm-welcome-float-one 14s ease-in-out infinite alternate;
}

.dglm-welcome__orb--two {
  bottom: -420px;
  left: -290px;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(207, 168, 168, 0.18), transparent 68%);
  transform: translate3d(calc(var(--dglm-welcome-x) * -0.55), calc(var(--dglm-welcome-y) * -0.55), 0);
  animation: dglm-welcome-float-two 17s ease-in-out infinite alternate;
}

.dglm-welcome__contour {
  border: 1px solid rgba(127, 79, 80, 0.08);
  border-radius: 48% 52% 41% 59% / 56% 42% 58% 44%;
}

.dglm-welcome__contour--one {
  top: 13%;
  right: 4.5%;
  width: clamp(230px, 24vw, 410px);
  aspect-ratio: 1;
  transform: translate3d(calc(var(--dglm-welcome-x) * 0.32), calc(var(--dglm-welcome-y) * 0.32), 0) rotate(17deg);
  animation: dglm-welcome-contour 27s linear infinite;
}

.dglm-welcome__contour--two {
  bottom: 9%;
  left: 1.5%;
  width: clamp(140px, 15vw, 260px);
  aspect-ratio: 1;
  border-color: rgba(127, 79, 80, 0.055);
  transform: rotate(-22deg);
  animation: dglm-welcome-contour-reverse 32s linear infinite;
}

.dglm-welcome__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(54px, 7vw, 118px);
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: clamp(94px, 10vw, 158px) clamp(24px, 5.2vw, 78px) clamp(82px, 9vw, 140px);
}

.dglm-welcome__heading,
.dglm-welcome__narrative,
.dglm-welcome__highlights,
.dglm-welcome__card {
  min-width: 0;
}

.dglm-welcome__heading {
  align-self: start;
  padding-top: 5px;
}

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

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

.dglm-welcome__heading h2 {
  max-width: 650px;
  margin: 0;
  color: var(--dglm-welcome-ink);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(49px, 5.1vw, 76px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

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

.dglm-welcome__detail {
  display: flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  margin-top: 39px;
}

.dglm-welcome__detail i {
  display: block;
  width: 5px;
  height: 5px;
  border: 1px solid rgba(127, 79, 80, 0.38);
  border-radius: 50%;
}

.dglm-welcome__detail i:nth-child(2) {
  width: 72px;
  height: 1px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(127, 79, 80, 0.35), rgba(127, 79, 80, 0.06));
}

.dglm-welcome__narrative {
  position: relative;
  align-self: start;
  padding: clamp(35px, 4.1vw, 57px) clamp(30px, 4vw, 58px);
  border: 1px solid var(--dglm-welcome-border);
  border-radius: 4px 54px 4px 4px;
  background: rgba(255, 253, 249, 0.76);
  box-shadow: 0 28px 80px rgba(82, 56, 53, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.dglm-welcome__narrative::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 25px;
  width: 42px;
  height: 42px;
  border-right: 1px solid rgba(127, 79, 80, 0.16);
  border-bottom: 1px solid rgba(127, 79, 80, 0.16);
}

.dglm-welcome__narrative-mark {
  position: absolute;
  top: -24px;
  left: 32px;
  color: rgba(127, 79, 80, 0.2);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 90px;
  font-style: italic;
  line-height: 1;
}

.dglm-welcome__copy {
  position: relative;
  z-index: 1;
}

.dglm-welcome__copy p {
  max-width: 640px;
  margin: 0;
  color: var(--dglm-welcome-muted);
  font-size: clamp(15px, 1.08vw, 17px);
  line-height: 1.82;
}

.dglm-welcome__copy p + p {
  margin-top: 18px;
}

.dglm-welcome__copy .dglm-welcome__lead {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(100, 70, 67, 0.11);
  color: var(--dglm-welcome-ink);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.dglm-welcome__highlights {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(4px, 1vw, 15px);
}

.dglm-welcome__card {
  position: relative;
  min-height: 246px;
  padding: clamp(27px, 3vw, 42px);
  overflow: hidden;
  border: 1px solid var(--dglm-welcome-border);
  border-radius: 3px;
  background: rgba(255, 253, 249, 0.69);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  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-welcome__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--dglm-welcome-wine), var(--dglm-welcome-rose));
  transition: width 0.55s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.dglm-welcome__card::after {
  content: "";
  position: absolute;
  right: -75px;
  bottom: -90px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(127, 79, 80, 0.07);
  border-radius: 50%;
  transition: transform 0.65s cubic-bezier(0.2, 0.75, 0.25, 1), border-color 0.35s ease;
}

.dglm-welcome__card:hover {
  z-index: 2;
  border-color: rgba(127, 79, 80, 0.23);
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 25px 54px rgba(82, 56, 53, 0.09), inset 0 1px 0 #fff;
  transform: translateY(-7px);
}

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

.dglm-welcome__card:hover::after {
  border-color: rgba(127, 79, 80, 0.13);
  transform: translate(-12px, -10px) scale(1.08);
}

.dglm-welcome__card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dglm-welcome__card-number {
  flex: 0 0 auto;
  color: var(--dglm-welcome-wine);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.dglm-welcome__card-line {
  display: block;
  width: 38px;
  height: 1px;
  background: rgba(127, 79, 80, 0.22);
}

.dglm-welcome__card h3 {
  max-width: 290px;
  margin: 31px 0 13px;
  color: var(--dglm-welcome-ink);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(28px, 2.3vw, 36px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.dglm-welcome__card p {
  position: relative;
  z-index: 1;
  max-width: 330px;
  margin: 0;
  color: var(--dglm-welcome-muted);
  font-size: 14px;
  line-height: 1.7;
}

.dglm-welcome-motion [data-dglm-welcome-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.75, 0.25, 1),
    transform 0.8s cubic-bezier(0.2, 0.75, 0.25, 1);
  transition-delay: calc(var(--dglm-welcome-order, 0) * 95ms + 80ms);
}

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

@keyframes dglm-welcome-float-one {
  from { margin-top: -12px; margin-right: -8px; }
  to { margin-top: 14px; margin-right: 12px; }
}

@keyframes dglm-welcome-float-two {
  from { margin-bottom: -10px; margin-left: -13px; }
  to { margin-bottom: 16px; margin-left: 11px; }
}

@keyframes dglm-welcome-contour {
  to { rotate: 360deg; }
}

@keyframes dglm-welcome-contour-reverse {
  to { rotate: -360deg; }
}

@media (max-width: 980px) {
  .dglm-welcome__inner {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .dglm-welcome__heading h2 {
    max-width: 760px;
  }

  .dglm-welcome__narrative {
    max-width: 760px;
  }

  .dglm-welcome__highlights {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dglm-welcome__card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .dglm-welcome__inner {
    gap: 35px;
    padding: 76px 18px 70px;
  }

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

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

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

  .dglm-welcome__detail {
    margin-top: 28px;
  }

  .dglm-welcome__narrative {
    padding: 35px 24px 37px;
    border-radius: 3px 34px 3px 3px;
  }

  .dglm-welcome__narrative-mark {
    top: -20px;
    left: 22px;
    font-size: 72px;
  }

  .dglm-welcome__copy .dglm-welcome__lead {
    font-size: 24px;
    line-height: 1.3;
  }

  .dglm-welcome__copy p {
    font-size: 14px;
    line-height: 1.75;
  }

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

  .dglm-welcome__card,
  .dglm-welcome__card:last-child {
    grid-column: auto;
    min-height: 0;
    padding: 27px 25px 30px;
  }

  .dglm-welcome__card h3 {
    margin: 22px 0 10px;
    font-size: 31px;
  }

  .dglm-welcome__contour--one {
    top: 7%;
    right: -28%;
    width: 330px;
  }
}

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

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

