/* Dongdaemun + 3PL ad landing */
.landing-ddm {
  --ld-sky: #e8f6fb;
  --ld-mist: #f3f8fb;
  --ld-ink: #112c4d;
  --ld-muted: #5f778b;
}

.landing-ddm .site-header {
  background: #ffffffd6;
}

/* HERO — full-bleed composition */
.ld-hero {
  position: relative;
  min-height: min(92vh, 820px);
  padding: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  color: var(--ld-ink);
}

.ld-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, #bfe8f6 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 10% 80%, #d4f0e8 0%, transparent 50%),
    linear-gradient(165deg, #f7fcfe 0%, #eaf4f9 45%, #dfeef6 100%);
  z-index: 0;
}

.ld-hero-bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(17, 44, 77, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(17, 44, 77, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  animation: ld-grid-drift 28s linear infinite;
}

@keyframes ld-grid-drift {
  to {
    background-position: 48px 48px;
  }
}

.ld-hero-inner {
  position: relative;
  z-index: 1;
  padding: 72px 0 28px;
  max-width: var(--max);
}

.ld-brand {
  margin: 0;
  font: 700 clamp(28px, 4vw, 42px) Manrope, "Noto Sans KR", sans-serif;
  letter-spacing: -0.06em;
  color: var(--ld-ink);
}

.ld-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.07em;
  font-weight: 800;
}

.ld-hero-desc {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ld-muted);
  max-width: 34em;
}

.ld-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.ld-hero-media {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: auto;
}

.ld-hero-media .media-slot {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  min-height: clamp(220px, 32vw, 380px);
  max-width: none;
  background: #fff !important;
}
.ld-hero-media .media-slot img {
  width: 100%;
  height: auto;
  max-width: 1280px;
}

/* Media placeholders for later assets */
.media-slot {
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  padding: 8px;
  border: 1.5px dashed #9bb8cb;
  border-radius: 18px;
  background:
    linear-gradient(145deg, #f4fafd 0%, #e7f2f8 100%);
  color: #3d5f78;
}

article.reveal.visible img {
  display: block;
  margin: auto;
}

.ld-row-media .media-slot img {
  width: 100%;
  height: auto;
  max-width: 600px;
}

.media-slot span {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.media-slot small {
  font-size: 12px;
  line-height: 1.55;
  color: #6a8498;
  max-width: 28em;
}

.media-slot.compact {
  min-height: 160px;
  border-radius: 14px;
  margin-bottom: 16px;
}

.media-slot.tall {
  min-height: 420px;
}

/* Pain */
.ld-pain {
  padding: 96px 0 40px;
}

.ld-pain .section-heading {
  margin-bottom: 40px;
}

.ld-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ld-pain-grid article {
  padding: 28px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.ld-pain-grid b {
  display: block;
  font: 700 13px "DM Mono", monospace;
  color: var(--blue);
  margin-bottom: 14px;
}

.ld-pain-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.04em;
}

.ld-pain-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ld-muted);
}

/* Flow steps */
.ld-flow {
  padding: 72px 0 100px;
  background: linear-gradient(180deg, #fff 0%, var(--ld-mist) 100%);
}

.ld-flow .section-heading {
  margin-bottom: 48px;
}

.ld-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  counter-reset: none;
}

.ld-steps li {
  position: relative;
  padding: 22px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px #1742600a;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ld-steps li:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px #17426014;
}

.ld-steps span {
  display: block;
  font: 700 12px "DM Mono", monospace;
  color: var(--blue);
  margin-bottom: 12px;
}

.ld-steps strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.ld-steps p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ld-muted);
}

/* Feature blocks */
.ld-feature {
  padding: 100px 0;
}

.ld-feature.soft {
  background: var(--soft);
}

.ld-feature-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.ld-feature-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.06em;
  margin: 14px 0 16px;
}

.ld-feature-head > p:last-child {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ld-muted);
}

.ld-row {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}

.ld-row:last-of-type {
  margin-bottom: 48px;
}

.ld-row.reverse {
  direction: rtl;
}

.ld-row.reverse > * {
  direction: ltr;
}

.ld-tag {
  margin: 0 0 10px;
  font: 600 11px "DM Mono", monospace;
  letter-spacing: 0.06em;
  color: var(--blue);
}

.ld-row-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.05em;
}

.ld-row-copy > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ld-muted);
}

.ld-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.ld-chips li {
  padding: 8px 12px;
  border-radius: 8px;
  background: #eaf6fb;
  color: #2a5f7a;
  font-size: 12px;
  font-weight: 700;
}

.ld-trio,
.ld-duo {
  display: grid;
  gap: 14px;
}

.ld-trio {
  grid-template-columns: repeat(3, 1fr);
}

.ld-duo {
  grid-template-columns: 1fr 1fr;
}

.ld-trio article,
.ld-duo article {
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.ld-trio h3,
.ld-duo h3 {
  margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.ld-trio p,
.ld-duo p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ld-muted);
}

/* All-in-one */
.ld-allin {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at 20% 0%, #c8ebf7 0%, transparent 45%),
    linear-gradient(160deg, #0f2c4a 0%, #16466e 55%, #0d2742 100%);
  color: #fff;
}

.ld-allin .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.ld-allin .eyebrow {
  color: #8ec8e0;
}

.ld-allin h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.06em;
  margin: 14px 0 16px;
}

.ld-allin-copy > p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.8;
  color: #b7c9da;
}

.ld-allin-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ld-allin-list li {
  padding: 9px 13px;
  border-radius: 8px;
  background: #ffffff12;
  border: 1px solid #ffffff22;
  font-size: 12px;
  font-weight: 700;
}

.ld-allin .button.outline {
  background: #fff;
  color: var(--ld-ink);
}

.ld-allin .media-slot {
  background: #163a5c;
  border-color: #3d6a90;
  color: #c5dceb;
}

.ld-allin .media-slot small {
  color: #8fadc4;
}

/* Summary */
.ld-summary {
  padding: 100px 0;
}

.ld-summary .section-heading {
  margin-bottom: 42px;
}

.ld-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ld-summary-grid article {
  padding: 24px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.ld-summary-grid b {
  display: block;
  font-size: 16px;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.ld-summary-grid p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ld-muted);
}

@media (max-width: 980px) {
  .ld-steps,
  .ld-pain-grid,
  .ld-trio,
  .ld-duo,
  .ld-summary-grid,
  .ld-row,
  .ld-allin .wrap {
    grid-template-columns: 1fr;
  }

  .ld-row.reverse {
    direction: ltr;
  }

  .ld-row {
    gap: 22px;
    margin-bottom: 56px;
  }

  .ld-hero-inner {
    padding: 48px 0 20px;
  }

  .ld-steps {
    grid-template-columns: 1fr 1fr;
  }

  .ld-summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .media-slot.tall {
    min-height: 280px;
    margin-top: 28px;
  }

  .ld-feature,
  .ld-allin,
  .ld-summary,
  .ld-flow {
    padding: 72px 0;
  }
}

@media (max-width: 560px) {
  .ld-steps,
  .ld-summary-grid {
    grid-template-columns: 1fr;
  }

  .ld-brand {
    font-size: 26px;
  }
}
