.dglm-hero {
  --dglm-hero-wine: #7f4f50;
  --dglm-hero-wine-dark: #5c3739;
  --dglm-hero-rose: #cfa8a8;
  --dglm-hero-blush: #ead9d6;
  --dglm-hero-ivory: #f8f5f0;
  --dglm-hero-paper: #fffdf9;
  --dglm-hero-ink: #332b2a;
  --dglm-hero-muted: #776b67;
  --dglm-hero-border: rgba(100, 70, 67, 0.14);
  --dglm-hero-x: 0px;
  --dglm-hero-y: 0px;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  min-height: calc(100svh - 88px);
  margin: 0;
  overflow: hidden;
  background: var(--dglm-hero-ivory);
  color: var(--dglm-hero-ink);
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

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

.dglm-hero__ambient,
.dglm-hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dglm-hero__ambient {
  z-index: -1;
  overflow: hidden;
}

.dglm-hero__grain {
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.dglm-hero__orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  will-change: transform;
}

.dglm-hero__orb--one {
  top: -33vw;
  left: -20vw;
  width: 67vw;
  height: 67vw;
  background: radial-gradient(circle at 58% 61%, rgba(234, 217, 214, 0.62), transparent 68%);
  transform: translate3d(calc(var(--dglm-hero-x) * -0.45), calc(var(--dglm-hero-y) * -0.45), 0);
  animation: dglm-hero-orb-one 13s ease-in-out infinite alternate;
}

.dglm-hero__orb--two {
  right: 31%;
  bottom: -29vw;
  width: 48vw;
  height: 48vw;
  background: radial-gradient(circle, rgba(207, 168, 168, 0.23), transparent 69%);
  transform: translate3d(calc(var(--dglm-hero-x) * 0.5), calc(var(--dglm-hero-y) * 0.5), 0);
  animation: dglm-hero-orb-two 16s ease-in-out infinite alternate;
}

.dglm-hero__organic-line {
  position: absolute;
  top: 8%;
  left: 47%;
  width: clamp(210px, 21vw, 380px);
  aspect-ratio: 1;
  border: 1px solid rgba(127, 79, 80, 0.09);
  border-radius: 43% 57% 63% 37% / 54% 36% 64% 46%;
  transform: translate3d(calc(var(--dglm-hero-x) * 0.18), calc(var(--dglm-hero-y) * 0.18), 0) rotate(12deg);
  animation: dglm-hero-organic 24s linear infinite;
}

.dglm-hero__organic-line::before,
.dglm-hero__organic-line::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(127, 79, 80, 0.065);
  border-radius: inherit;
}

.dglm-hero__organic-line::before { inset: 16%; transform: rotate(31deg); }
.dglm-hero__organic-line::after { inset: 32%; transform: rotate(-27deg); }

.dglm-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(390px, 42%);
  min-height: calc(100svh - 88px);
}

.dglm-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(46px, 6.2vh, 75px) clamp(37px, 6.1vw, 105px) clamp(34px, 4.5vh, 54px);
  background: linear-gradient(118deg, rgba(255, 253, 249, 0.95), rgba(248, 245, 240, 0.87));
}

.dglm-hero__main {
  width: min(100%, 820px);
  margin: auto 0;
}

.dglm-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  margin: 0 0 clamp(20px, 2.8vh, 31px);
  color: var(--dglm-hero-wine);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.dglm-hero__eyebrow span {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dglm-hero-rose);
  box-shadow: 0 0 0 6px rgba(207, 168, 168, 0.14);
  animation: dglm-hero-pulse 2.7s ease-in-out infinite;
}

.dglm-hero h1 {
  max-width: 790px;
  margin: 0;
  color: var(--dglm-hero-ink);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(54px, 5.65vw, 88px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.046em;
  text-wrap: balance;
}

.dglm-hero h1 em {
  position: relative;
  display: inline-block;
  color: var(--dglm-hero-wine);
  font-style: italic;
  white-space: nowrap;
}

.dglm-hero h1 em::after {
  content: "";
  position: absolute;
  right: 0.04em;
  bottom: -0.035em;
  left: 0.08em;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dglm-hero-rose) 9%, var(--dglm-hero-rose) 86%, transparent);
  transform: scaleX(0);
  transform-origin: left;
}

.dglm-hero.is-ready h1 em::after {
  animation: dglm-hero-line 1.1s 0.78s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.dglm-hero__description {
  max-width: 650px;
  margin: clamp(24px, 3.5vh, 36px) 0 0;
  color: var(--dglm-hero-muted);
  font-size: clamp(14px, 1.08vw, 16.5px);
  font-weight: 400;
  line-height: 1.68;
}

.dglm-hero__action {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
  margin-top: clamp(27px, 4vh, 42px);
}

.dglm-hero__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 27px;
  flex: 0 0 auto;
  min-width: 216px;
  min-height: 59px;
  padding: 9px 9px 9px 21px;
  overflow: hidden;
  border: 1px solid rgba(127, 79, 80, 0.14);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--dglm-hero-wine), #986465);
  box-shadow: 0 17px 36px rgba(103, 59, 60, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.17);
  color: #fff !important;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.07em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.dglm-hero__button::before {
  content: "";
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -38%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-21deg);
  transition: left 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.dglm-hero__button span,
.dglm-hero__button i {
  position: relative;
  z-index: 1;
}

.dglm-hero__button i {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 14px;
  font-style: normal;
  transition: transform 0.26s ease, background 0.26s ease;
}

.dglm-hero__button:hover {
  box-shadow: 0 23px 48px rgba(103, 59, 60, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.17);
  filter: saturate(1.04);
  transform: translateY(-3px);
}

.dglm-hero__button:hover::before { left: 118%; }
.dglm-hero__button:hover i { background: rgba(255, 255, 255, 0.21); transform: translate(2px, -2px); }

.dglm-hero__action > p {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 260px;
  margin: 0;
  color: var(--dglm-hero-muted);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.dglm-hero__action > p span {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--dglm-hero-rose);
  box-shadow: 0 0 0 4px rgba(207, 168, 168, 0.12);
}

.dglm-hero__credentials {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  width: min(100%, 820px);
  margin-top: clamp(38px, 6vh, 72px);
  padding-top: clamp(20px, 2.8vh, 28px);
  border-top: 1px solid var(--dglm-hero-border);
}

.dglm-hero__doctor {
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex: 0 0 auto;
  color: var(--dglm-hero-wine-dark);
  font-family: "Instrument Serif", Georgia, serif;
}

.dglm-hero__doctor span {
  color: var(--dglm-hero-rose);
  font-size: 14px;
  font-style: italic;
}

.dglm-hero__doctor strong {
  font-size: clamp(18px, 1.45vw, 23px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.dglm-hero__credentials ul {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: clamp(18px, 2vw, 31px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.dglm-hero__credentials li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dglm-hero__credentials li + li::before {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: calc(clamp(18px, 2vw, 31px) / -2);
  width: 1px;
  background: var(--dglm-hero-border);
}

.dglm-hero__credentials small {
  color: var(--dglm-hero-muted);
  font-size: 6.8px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dglm-hero__credentials li strong {
  color: var(--dglm-hero-wine);
  font-size: 9px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}

.dglm-hero__visual {
  position: relative;
  z-index: 3;
  min-width: 0;
  min-height: calc(100svh - 88px);
  overflow: hidden;
  background: #4c4948;
}

.dglm-hero__photo-wrap,
.dglm-hero__photo,
.dglm-hero__photo-overlay {
  position: absolute;
  inset: 0;
}

.dglm-hero__photo-wrap {
  overflow: hidden;
}

.dglm-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
  filter: saturate(0.74) contrast(0.98) brightness(0.9);
  transform: scale(1.075) translate3d(calc(var(--dglm-hero-x) * -0.12), calc(var(--dglm-hero-y) * -0.09), 0);
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1), filter 1.1s ease;
  will-change: transform;
}

.dglm-hero.is-ready .dglm-hero__photo {
  filter: saturate(0.82) contrast(1) brightness(0.94);
  transform: scale(1.02) translate3d(calc(var(--dglm-hero-x) * -0.12), calc(var(--dglm-hero-y) * -0.09), 0);
}

.dglm-hero__photo-overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(41, 34, 33, 0.3), transparent 28%, transparent 54%, rgba(42, 32, 31, 0.72) 100%),
    linear-gradient(110deg, rgba(127, 79, 80, 0.13), transparent 43%, rgba(41, 34, 33, 0.08)),
    linear-gradient(145deg, rgba(207, 168, 168, 0.16), transparent 42%);
}

.dglm-hero__photo-frame {
  position: absolute;
  z-index: 3;
  inset: clamp(17px, 1.8vw, 29px);
  pointer-events: none;
}

.dglm-hero__photo-frame span {
  position: absolute;
  width: 30px;
  height: 30px;
  opacity: 0.82;
}

.dglm-hero__photo-frame span:nth-child(1) { top: 0; left: 0; border-top: 1px solid rgba(255,255,255,.72); border-left: 1px solid rgba(255,255,255,.72); }
.dglm-hero__photo-frame span:nth-child(2) { top: 0; right: 0; border-top: 1px solid rgba(255,255,255,.72); border-right: 1px solid rgba(255,255,255,.72); }
.dglm-hero__photo-frame span:nth-child(3) { right: 0; bottom: 0; border-right: 1px solid rgba(255,255,255,.72); border-bottom: 1px solid rgba(255,255,255,.72); }
.dglm-hero__photo-frame span:nth-child(4) { bottom: 0; left: 0; border-bottom: 1px solid rgba(255,255,255,.72); border-left: 1px solid rgba(255,255,255,.72); }

.dglm-hero__visual-top {
  position: absolute;
  z-index: 4;
  top: clamp(46px, 5vw, 72px);
  right: clamp(43px, 4vw, 67px);
  left: clamp(43px, 4vw, 67px);
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.dglm-hero__visual-top i {
  flex: 1 1 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.dglm-hero__visual-card {
  position: absolute;
  z-index: 4;
  right: clamp(43px, 4vw, 67px);
  bottom: clamp(74px, 9vh, 108px);
  width: min(310px, calc(100% - 86px));
  padding: 21px 23px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 17px;
  background: rgba(70, 51, 50, 0.36);
  box-shadow: 0 20px 46px rgba(26, 18, 18, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(13px) saturate(0.9);
  -webkit-backdrop-filter: blur(13px) saturate(0.9);
  animation: dglm-hero-card-float 5.4s ease-in-out infinite;
}

.dglm-hero__visual-card-mark {
  position: absolute;
  top: 20px;
  right: 21px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dglm-hero-blush);
  box-shadow: 0 0 0 5px rgba(234, 217, 214, 0.12);
}

.dglm-hero__visual-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(23px, 2vw, 31px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.dglm-hero__visual-card p em {
  color: var(--dglm-hero-blush);
  font-style: italic;
}

.dglm-hero__visual-card small {
  display: block;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.53);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.dglm-hero__visual-index {
  position: absolute;
  z-index: 4;
  right: clamp(43px, 4vw, 67px);
  bottom: clamp(41px, 4vw, 58px);
  left: clamp(43px, 4vw, 67px);
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.55);
}

.dglm-hero__visual-index span,
.dglm-hero__visual-index small {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dglm-hero__visual-index i {
  flex: 1 1 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.dglm-hero-motion .dglm-hero-reveal {
  opacity: 0;
  transform: translateY(17px);
}

.dglm-hero-motion.is-ready .dglm-hero-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.86s cubic-bezier(0.22, 1, 0.36, 1) var(--dglm-hero-delay, 0ms),
              transform 0.86s cubic-bezier(0.22, 1, 0.36, 1) var(--dglm-hero-delay, 0ms);
}

@keyframes dglm-hero-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.72); }
}

@keyframes dglm-hero-line { to { transform: scaleX(1); } }
@keyframes dglm-hero-organic { to { rotate: 360deg; } }
@keyframes dglm-hero-orb-one { from { opacity: 0.72; scale: 1; } to { opacity: 1; scale: 1.09; } }
@keyframes dglm-hero-orb-two { from { opacity: 0.5; scale: 0.94; } to { opacity: 0.86; scale: 1.08; } }

@keyframes dglm-hero-card-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

@media (max-width: 1280px) {
  .dglm-hero__grid { grid-template-columns: minmax(0, 61%) minmax(390px, 39%); }
  .dglm-hero__content { padding-right: clamp(34px, 4.5vw, 66px); padding-left: clamp(34px, 4.5vw, 66px); }
  .dglm-hero h1 { font-size: clamp(54px, 5.6vw, 74px); }
  .dglm-hero__credentials { align-items: flex-start; flex-direction: column; gap: 14px; }
  .dglm-hero__credentials ul { justify-content: flex-start; }
}

@media (max-width: 960px) {
  .dglm-hero,
  .dglm-hero__grid { min-height: 0; }

  .dglm-hero__grid { grid-template-columns: 1fr; }

  .dglm-hero__content {
    min-height: 0;
    padding: 45px clamp(27px, 7vw, 65px) 34px;
  }

  .dglm-hero__main { margin: 0; }
  .dglm-hero h1 { max-width: 760px; font-size: clamp(54px, 8.8vw, 78px); }
  .dglm-hero__description { max-width: 670px; }
  .dglm-hero__credentials { max-width: 760px; margin-top: 42px; }

  .dglm-hero__visual {
    min-height: min(74svh, 740px);
  }

  .dglm-hero__photo { object-position: 50% 29%; }
  .dglm-hero__organic-line { top: 4%; right: -10%; left: auto; }
}

@media (max-width: 680px) {
  .dglm-hero__content { padding: 34px 20px 25px; }
  .dglm-hero__eyebrow { margin-bottom: 20px; font-size: 7.5px; letter-spacing: 0.14em; }
  .dglm-hero h1 { font-size: clamp(43px, 12.8vw, 58px); line-height: 0.98; letter-spacing: -0.041em; }
  .dglm-hero__description { margin-top: 22px; font-size: 13.5px; line-height: 1.6; }

  .dglm-hero__action {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    margin-top: 25px;
  }

  .dglm-hero__button { width: 100%; min-height: 56px; }
  .dglm-hero__action > p { max-width: 100%; padding-left: 4px; font-size: 8.5px; }

  .dglm-hero__credentials {
    gap: 10px;
    margin-top: 28px;
    padding-top: 17px;
  }

  .dglm-hero__doctor strong { font-size: 19px; }
  .dglm-hero__credentials ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; width: 100%; }
  .dglm-hero__credentials li { min-width: 0; padding-right: 8px; }
  .dglm-hero__credentials li + li { padding-left: 10px; }
  .dglm-hero__credentials li + li::before { left: 0; }
  .dglm-hero__credentials small { font-size: 5.8px; overflow: hidden; text-overflow: ellipsis; }
  .dglm-hero__credentials li strong { font-size: 7.8px; overflow-wrap: anywhere; white-space: normal; }

  .dglm-hero__visual { min-height: 430px; }
  .dglm-hero__photo { object-position: 50% 27%; }
  .dglm-hero__photo-frame { inset: 13px; }
  .dglm-hero__visual-top { top: 35px; right: 34px; left: 34px; }
  .dglm-hero__visual-card { right: 34px; bottom: 73px; width: min(285px, calc(100% - 68px)); }
  .dglm-hero__visual-index { right: 34px; bottom: 38px; left: 34px; }
}

@media (max-width: 380px) {
  .dglm-hero__content { padding-right: 17px; padding-left: 17px; }
  .dglm-hero h1 { font-size: 42px; }
  .dglm-hero__visual { min-height: 405px; }
}

@media (prefers-reduced-motion: reduce) {
  .dglm-hero *,
  .dglm-hero *::before,
  .dglm-hero *::after {
    animation: none !important;
    transition: none !important;
  }

  .dglm-hero-motion .dglm-hero-reveal { opacity: 1; transform: none; }
  .dglm-hero h1 em::after { transform: scaleX(1); }
  .dglm-hero__photo,
  .dglm-hero.is-ready .dglm-hero__photo { transform: none; }
}

