/* ============================================================
   FINERIES — Web & App Development (Digital Products & Technology)
   loads after v3.css + home.css; reuses their tokens
   ============================================================ */

/* ---------- Hero ---------- */
.dpthero {
  position: relative;
  min-height: min(780px, 100svh);
  background: var(--v3-blue);
  color: #fff;
  overflow: hidden;
}
.dpthero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 86% 12%, rgba(255,255,255,.06), transparent 32%);
  pointer-events: none;
}
.dpthero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .94fr);
  gap: clamp(44px, 7vw, 108px);
  align-items: center;
  min-height: min(780px, 100svh);
  padding-top: clamp(130px, 16vh, 170px);
  padding-bottom: clamp(64px, 9vh, 92px);
}
.dpthero__copy { max-width: 41rem; }
.dpthero__eyebrow {
  display: block;
  margin-bottom: 24px;
  color: rgba(255,255,255,.72);
}
.dpthero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 53px);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 0;
  max-width: 15ch;
  text-wrap: balance;
}
.dpthero__body {
  margin-top: clamp(24px, 3vw, 36px);
  max-width: 50ch;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.55;
  color: rgba(255,255,255,.9);
}
.dpthero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: clamp(28px, 3.5vw, 42px);
  padding: 0 28px;
  border-radius: 999px;
  background: var(--v3-gold);
  color: var(--v3-ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .25s var(--v3-ease), background .25s var(--v3-ease);
}
.dpthero__cta:hover { transform: translateY(-3px); background: #fff; }
.dpthero__media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: .94;
  min-height: 420px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.035);
  border-radius: clamp(20px, 2vw, 30px);
  background:
    linear-gradient(145deg, rgba(255,255,255,.025), transparent 44%),
    var(--v3-blue-d);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 34px 80px rgba(22,24,82,.22);
}
.dpthero__video,
.dpthero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.dpthero__video { object-fit: cover; }
.dpthero__shade {
  background: linear-gradient(180deg, rgba(32,34,79,.05), rgba(32,34,79,.24));
  transition: background .35s var(--v3-ease);
}
.dpthero__media-glow {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8,188,179,.22), rgba(8,188,179,.06) 42%, transparent 68%);
  transform: scale(.7);
  transition: transform .45s var(--v3-ease);
}
.dpthero__play {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 3px solid rgba(8,188,179,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.34);
  backdrop-filter: blur(8px);
  transition: transform .35s var(--v3-ease), background .35s var(--v3-ease);
}
.dpthero__play svg { width: 27px; height: 27px; margin-left: 4px; fill: currentColor; }
.dpthero__watch {
  position: absolute;
  bottom: 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s var(--v3-ease), transform .3s var(--v3-ease);
}
.dpthero__media:hover .dpthero__media-glow { transform: scale(1); }
.dpthero__media:hover .dpthero__shade { background: rgba(32,34,79,.08); }
.dpthero__media:hover .dpthero__play { transform: scale(1.08); background: var(--v3-teal); }
.dpthero__media:hover .dpthero__watch { opacity: .8; transform: translateY(0); }

/* ---------- The shift (digital experience is the business) ---------- */
.dptde__grid { display: grid; grid-template-columns: minmax(0,6fr) minmax(0,5fr); gap: clamp(28px,5vw,72px); align-items: center; }
.dptde__title { color: #000; margin: 12px 0 18px; }
.dptde__body p { font-size: 16px; line-height: 1.75; color: var(--v3-text); }
.dptde__body p + p { margin-top: 14px; }
.dptde__media { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: var(--v3-mist); }
.dptde__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Where our solutions create value ---------- */
.dptvalue__head { max-width: 60ch; margin-bottom: clamp(30px,4vw,48px); }
.dptvalue__head .body { margin-top: 10px; }
.dptvalue__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vcard { background: #fff; border: 1px solid var(--v3-line); border-radius: 14px; padding: 26px 22px; }
.vcard__icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--v3-mist);
  display: flex; align-items: center; justify-content: center; color: var(--v3-teal); margin-bottom: 18px;
}
.vcard__icon svg { width: 22px; height: 22px; }
.vcard__title { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.01em; color: var(--v3-ink); margin: 0 0 8px; }
.vcard__desc { font-size: 14px; line-height: 1.55; color: var(--v3-text-2); margin: 0; }

/* ---------- What we build ---------- */
.dptbuild__head { margin-bottom: clamp(30px,4vw,48px); }
.dptbuild__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.bcard { background: var(--v3-mist); border-radius: 16px; padding: clamp(28px,3vw,40px); }
.bcard__icon {
  width: 50px; height: 50px; border-radius: 12px; background: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.bcard__icon svg { width: 24px; height: 24px; }
.bcard__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px,2vw,24px); letter-spacing: -.01em; color: var(--v3-ink); margin: 0 0 10px; }
.bcard__desc { font-size: 15px; line-height: 1.6; color: var(--v3-text-2); margin: 0 0 20px; max-width: 46ch; }
.bcard__services { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bcard__services li {
  font-size: 13px; font-weight: 600; color: var(--v3-ink);
  background: #fff; border: 1px solid var(--v3-line); border-radius: 999px; padding: 7px 14px;
}
.bcard--blue    .bcard__icon { color: var(--v3-blue); }
.bcard--magenta .bcard__icon { color: var(--v3-magenta); }
.bcard--teal    .bcard__icon { color: var(--v3-teal); }
.bcard--gold    .bcard__icon { color: #C79A00; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .dpthero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: 40px; }
  .dpthero__media { min-height: 370px; }
  .dptvalue__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .dpthero { min-height: auto; }
  .dpthero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 46px;
    padding-top: 132px;
  }
  .dpthero__copy { max-width: 38rem; }
  .dpthero__title { font-size: clamp(34px, 9.2vw, 46px); line-height: 1.06; max-width: 100%; }
  .dpthero__media { aspect-ratio: 16/10; min-height: 0; }
  .dptde__grid { grid-template-columns: 1fr; }
  .dptbuild__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .dpthero__inner { padding-top: 112px; padding-bottom: 52px; gap: 36px; }
  .dpthero__eyebrow { margin-bottom: 18px; }
  .dpthero__body { font-size: 16px; }
  .dpthero__cta { min-height: 54px; padding: 0 24px; }
  .dpthero__media { border-radius: 18px; }
  .dpthero__play { width: 72px; height: 72px; }
  .dptvalue__grid { grid-template-columns: 1fr; }
}
