/* ===================================================================
   Ariana.Digital — /digital/* shared styles
   For the 5 legacy service pages (Strategy, Transformation,
   Data Analytics, Marketing, CX) + hub. Composes on top of site.css.
   =================================================================== */

/* ---- shared page header --------------------------------------- */
.dgl-head {
  background: #fff;
  padding: 72px 0 36px;
  border-bottom: 1px solid var(--border-default);
  position: relative;
  overflow: hidden;
}
.dgl-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 380px at 88% -10%, rgba(255,121,0,0.06), transparent 60%),
    radial-gradient(700px 300px at 0% 0%, rgba(7,163,209,0.05), transparent 60%);
  pointer-events: none;
}
.dgl-head-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
}
.dgl-breadcrumb {
  display: inline-flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 24px;
}
.dgl-breadcrumb a { color: var(--brand-orange); }
.dgl-breadcrumb a:hover { color: var(--orange-700); }
.dgl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  margin-bottom: 20px;
}
.dgl-eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--brand-cyan);
}
.dgl-h1 {
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  text-wrap: balance;
}
.dgl-h1 em {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 200;
  color: var(--brand-orange);
}
.dgl-h1 .underline {
  position: relative;
  display: inline-block;
}
.dgl-h1 .underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.08em;
  height: 5px;
  background: var(--brand-cyan);
}
.dgl-lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-700);
  max-width: 540px;
}

/* ---- "what's included" service-detail grid -------------------- */
.dgl-section { padding: 80px 0; }
.dgl-section.muted { background: var(--ink-50); }

.dgl-section-head {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: baseline;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-default);
}
.dgl-section-head .sl {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-900);
}
.dgl-section-head .sl b {
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: 14px;
  color: var(--brand-orange);
}
.dgl-section-head h2 {
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  text-wrap: balance;
}
.dgl-section-head h2 em {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 200;
  color: var(--brand-orange);
}
.dgl-section-head .note {
  margin-top: 12px;
  color: var(--ink-700);
  font-size: 16px;
  line-height: 1.55;
  max-width: 640px;
}

.dgl-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-default);
  border: 1px solid var(--border-default);
}
.dgl-detail {
  background: #fff;
  padding: 32px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--dur-base) var(--ease-standard);
}
.dgl-detail:hover { background: var(--ink-50); }
.dgl-detail .num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--brand-orange);
}
.dgl-detail h3 {
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}
.dgl-detail p {
  color: var(--ink-700);
  font-size: 15px;
  line-height: 1.6;
}

/* ---- HUB: service cards row ----------------------------------- */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border-default);
  background: var(--border-default);
}
.hub-card {
  background: #fff;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background var(--dur-base) var(--ease-standard);
  position: relative;
  min-height: 280px;
}
.hub-card:hover { background: var(--ink-50); }
.hub-card .num {
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--brand-orange);
}
.hub-card h3 {
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink-900);
}
.hub-card p {
  color: var(--ink-700);
  font-size: 15px;
  line-height: 1.55;
  flex: 1;
}
.hub-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-orange);
  font-size: 14px;
  font-weight: 500;
  transition: gap var(--dur-fast) var(--ease-standard);
}
.hub-card:hover .more { gap: 12px; }

/* ---- HUB hero stat strip -------------------------------------- */
.hub-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  background: #fff;
}
.hub-stat {
  padding: 28px 24px;
  border-right: 1px solid var(--border-default);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hub-stat:last-child { border-right: none; }
.hub-stat .v {
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink-900);
}
.hub-stat .v em {
  font-family: var(--font-sans);
  font-weight: 200;
  font-style: italic;
  color: var(--brand-orange);
}
.hub-stat .l {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* ---- "next door in" cross-link strip -------------------------- */
.dgl-next {
  background: var(--ink-900);
  color: #fff;
  padding: 64px 0;
}
.dgl-next .head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.dgl-next h2 {
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
  max-width: 720px;
}
.dgl-next h2 em {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 200;
  color: var(--brand-orange);
}
.dgl-next .head-eye {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-orange);
}
.dgl-next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.dgl-next-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background var(--dur-base), border-color var(--dur-base), transform var(--dur-base);
}
.dgl-next-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--brand-orange);
  transform: translateY(-2px);
}
.dgl-next-card .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-orange);
}
.dgl-next-card h4 {
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #fff;
}
.dgl-next-card p {
  color: rgba(255,255,255,0.74);
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
}
.dgl-next-card .arr {
  color: var(--brand-orange);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--dur-fast);
}
.dgl-next-card:hover .arr { gap: 12px; }

/* ---- end CTA -------------------------------------------------- */
.dgl-cta {
  padding: 80px 0;
  background: linear-gradient(180deg, #fff 0%, var(--ink-50) 100%);
  border-top: 1px solid var(--border-default);
}
.dgl-cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.dgl-cta h2 {
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  text-wrap: balance;
}
.dgl-cta h2 em {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 200;
  color: var(--brand-orange);
}
.dgl-cta p {
  color: var(--ink-700);
  font-size: 17px;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 540px;
}
.dgl-cta .ctas {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ---- archived banner (optional) ------------------------------- */
.dgl-archive-note {
  background: var(--ink-50);
  border-bottom: 1px solid var(--border-default);
  padding: 12px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.dgl-archive-note .container { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.dgl-archive-note b {
  color: var(--brand-orange);
  font-weight: 700;
}
.dgl-archive-note a { color: var(--ink-900); text-decoration: underline; text-underline-offset: 3px; }

/* ---- responsive ----------------------------------------------- */
@media (max-width: 960px) {
  .dgl-head-inner { grid-template-columns: 1fr; gap: 32px; }
  .dgl-section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .dgl-detail-grid { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .hub-stats { grid-template-columns: repeat(2, 1fr); }
  .hub-stat:nth-child(2) { border-right: none; }
  .hub-stat:nth-child(1), .hub-stat:nth-child(2) { border-bottom: 1px solid var(--border-default); }
  .dgl-next-grid { grid-template-columns: 1fr; }
  .dgl-cta-inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 540px) {
  .dgl-section { padding: 56px 0; }
  .dgl-cta { padding: 56px 0; }
  .dgl-next { padding: 48px 0; }
  .hub-stats { grid-template-columns: 1fr; }
  .hub-stat { border-right: none; border-bottom: 1px solid var(--border-default); }
  .hub-stat:last-child { border-bottom: none; }
}
