/* ==========================================================================
   Public website (and shared auth screens). Builds on ui.css tokens.
   NOTE: the .dw-site-header rules in section 2 are shared with the customer
   portal (its header is a .dw-site-header too) - keep them generic and put
   public-only header styling under body.dw-public.
   ========================================================================== */

body.dw-public { --bs-body-bg: #fff; background: #fff; }
body.dw-public main { flex: 1 0 auto; }

/* ---------- 1. Top utility bar (public only, shown when contact details are set) -- */
.dw-topbar { background: #070d1a; color: #94a3b8; font-size: .8rem; }
.dw-topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .5rem; }
.dw-topbar a { display: inline-flex; align-items: center; gap: .4rem; color: #cbd5e1; }
.dw-topbar a:hover { color: #fff; text-decoration: none; }
.dw-topbar .bi { color: #60a5fa; }
.dw-topbar-contact, .dw-topbar-links { display: flex; align-items: center; gap: 1.4rem; }

/* ---------- 2. Header (shared with the customer portal) -------------------- */
.dw-site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.dw-site-header.is-scrolled { border-bottom-color: var(--dw-line); box-shadow: 0 8px 24px -14px rgba(15, 23, 42, .3); }
.dw-site-header .navbar { padding: .7rem 0; }

.dw-site-header .navbar-brand {
  display: inline-flex; align-items: center; gap: .65rem; margin-right: 1.5rem;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; color: var(--dw-ink);
}
.dw-site-header .navbar-brand .accent { color: var(--dw-primary); }

.dw-site-header .nav-link {
  color: #475569; font-weight: 550; font-size: .92rem;
  padding: .5rem .85rem; border-radius: .6rem;
  transition: background-color .15s ease, color .15s ease;
}
.dw-site-header .nav-link:hover { color: var(--dw-ink); background: #f1f5f9; }
.dw-site-header .nav-link.active { color: var(--dw-primary); background: var(--dw-primary-50); }
.dw-site-header .dropdown-toggle::after { margin-left: .4rem; vertical-align: .15em; }
.dw-site-header .navbar-nav .nav-link, .dw-site-header .navbar-nav .btn { white-space: nowrap; }

.dw-site-header .navbar-toggler { border: 1px solid var(--dw-line); border-radius: .65rem; padding: .4rem .6rem; }
.dw-site-header .navbar-toggler:focus { box-shadow: var(--dw-ring); }

@media (max-width: 991.98px) {
  .dw-site-header .navbar-collapse { margin-top: .7rem; padding: .6rem 0 1rem; border-top: 1px solid var(--dw-line); }
  .dw-site-header .nav-link { padding: .7rem .9rem; }
  .dw-site-header .nav-item .btn { width: 100%; margin-top: .4rem; }
}

/* Public header call-to-action */
.dw-public .dw-nav-cta {
  --bs-btn-padding-y: .5rem; --bs-btn-padding-x: 1.1rem; --bs-btn-font-size: .9rem; --bs-btn-border-radius: .7rem;
  --bs-btn-bg: transparent; --bs-btn-border-color: transparent; --bs-btn-hover-bg: transparent; --bs-btn-hover-border-color: transparent;
  --bs-btn-active-bg: transparent; --bs-btn-active-border-color: transparent;
  color: #fff; background: var(--dw-gradient); border: 0;
  box-shadow: 0 8px 18px -8px rgba(79, 70, 229, .75), inset 0 1px 0 rgba(255, 255, 255, .2);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.dw-public .dw-nav-cta:hover { color: #fff; filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 12px 22px -8px rgba(79, 70, 229, .85), inset 0 1px 0 rgba(255, 255, 255, .25); }
.dw-public .dw-nav-cta i { transition: transform .15s ease; }
.dw-public .dw-nav-cta:hover i { transform: translateX(3px); }

/* ---------- 3. Hero -------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  padding: 5.25rem 0 9rem;
  background:
    radial-gradient(52rem 30rem at 92% -10%, rgba(124, 58, 237, .45), transparent 62%),
    radial-gradient(46rem 28rem at -6% 105%, rgba(37, 99, 235, .45), transparent 62%),
    radial-gradient(28rem 18rem at 55% 120%, rgba(6, 182, 212, .22), transparent 70%),
    linear-gradient(160deg, #080e1c 0%, #0f1a36 55%, #0b1626 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%);
}
.hero > .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3.5rem; align-items: center; }

.hero h1 {
  font-size: clamp(2.35rem, 4.5vw, 3.95rem); font-weight: 800; letter-spacing: -.042em; line-height: 1.04;
  margin: 0 0 1.35rem; color: #fff; text-wrap: balance;
}
.hero .lead { color: #b6c2d6; font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 38rem; margin: 0; line-height: 1.65; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.6rem;
  padding: .42rem 1rem; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: #cbd5e1;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero-eyebrow .pulse { width: .5rem; height: .5rem; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: dw-pulse 2s infinite; }
@keyframes dw-pulse { 70% { box-shadow: 0 0 0 .5rem rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; }
.hero .btn-primary { box-shadow: 0 14px 28px -10px rgba(37, 99, 235, .8); }
.hero .btn-outline-light { --bs-btn-color: #e2e8f0; --bs-btn-border-color: rgba(255, 255, 255, .28); --bs-btn-hover-bg: rgba(255, 255, 255, .1); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: rgba(255, 255, 255, .5); }
.hero-checks { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 2.2rem 0 0; padding: 0; list-style: none; font-size: .88rem; color: #cbd5e1; }
.hero-checks li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-checks .bi { color: #34d399; }

/* Hero visual: a collage of glass cards (pure CSS/SVG - no image assets needed) */
.hero-visual { position: relative; width: 100%; max-width: 34rem; margin-inline: auto; aspect-ratio: 1 / .96; }
.hv-glow { position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(99, 102, 241, .55), transparent 75%); filter: blur(30px); }
.hv-card {
  position: absolute; border-radius: 1.1rem; color: #e2e8f0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.hv-main { top: 11%; right: 0; width: 90%; padding: .9rem 1rem 1rem; }
.hv-card-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .4rem; }
.hv-dots { display: inline-flex; gap: .3rem; }
.hv-dots i { width: .5rem; height: .5rem; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.hv-title { font-size: .75rem; font-weight: 600; color: #cbd5e1; letter-spacing: .01em; }
.hv-pill { margin-left: auto; padding: .15rem .6rem; border-radius: 999px; font-size: .68rem; font-weight: 700; color: #c7d2fe; background: rgba(99, 102, 241, .28); border: 1px solid rgba(165, 180, 252, .35); white-space: nowrap; }
.hv-pill.is-ok { color: #bbf7d0; background: rgba(34, 197, 94, .22); border-color: rgba(134, 239, 172, .4); }
.hv-van { display: block; width: 100%; height: auto; }
.hv-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .3rem; font-size: .72rem; color: #94a3b8; }
.hv-swatches { display: inline-flex; gap: .3rem; }
.hv-swatches i { width: .95rem; height: .95rem; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); }

.hv-stitch { top: 0; left: 0; width: 36%; padding: .85rem .9rem .75rem; animation: hv-float 7s ease-in-out infinite; }
.hv-stitch svg { display: block; width: 100%; height: auto; }
.hv-code { left: 3%; bottom: 3%; width: 42%; padding: .9rem .95rem .8rem; animation: hv-float 8s ease-in-out -2s infinite; }
.hv-codeline { display: flex; gap: .4rem; margin-bottom: .45rem; }
.hv-codeline.is-indent { padding-left: .9rem; }
.hv-codeline i { height: .45rem; border-radius: 999px; background: rgba(255, 255, 255, .28); }
.hv-caption { display: flex; align-items: center; gap: .4rem; margin-top: .55rem; font-size: .7rem; font-weight: 600; color: #cbd5e1; }
.hv-caption .bi { color: #a5b4fc; }

.hv-chip {
  position: absolute; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border-radius: 999px;
  font-size: .76rem; font-weight: 650; color: #0f172a; background: #fff; white-space: nowrap;
  box-shadow: 0 18px 34px -14px rgba(0, 0, 0, .6);
}
.hv-chip .bi { font-size: 1rem; }
.hv-chip-a { right: -1%; bottom: 22%; animation: hv-float 7.5s ease-in-out -1s infinite; }
.hv-chip-a .bi { color: #16a34a; }
.hv-chip-b { right: 8%; top: 0; animation: hv-float 9s ease-in-out -4s infinite; }
.hv-chip-b .bi { color: #2563eb; }
@keyframes hv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (max-width: 991.98px) {
  .hero { padding: 4rem 0 8rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-actions, .hero-checks { justify-content: center; }
  .hero-visual { max-width: 30rem; }
}
@media (max-width: 575.98px) {
  .hero { padding: 3rem 0 7rem; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { aspect-ratio: 1 / 1.12; }
  .hv-main { top: 19%; width: 94%; }
  .hv-code, .hv-chip-b, .hv-main .hv-title { display: none; }
  .hv-chip-a { right: 0; bottom: 10%; }
  .hv-stitch { width: 38%; }
}

/* ---------- 4. Capability strip that straddles the hero edge ---------------- */
.pillars-wrap { position: relative; z-index: 2; margin-top: -5rem; }
.pillars {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: #fff; border: 1px solid var(--dw-line); border-radius: 1.4rem;
  box-shadow: 0 30px 60px -28px rgba(15, 23, 42, .35), 0 8px 18px -10px rgba(15, 23, 42, .12);
}
.pillar { display: flex; flex-direction: column; gap: .85rem; padding: 1.6rem 1.4rem 1.7rem; border-right: 1px solid var(--dw-line-soft); transition: background-color .2s ease; }
.pillar:last-child { border-right: 0; }
.pillar:hover { background: #fafbff; }
.pillar:first-child { border-radius: 1.4rem 0 0 1.4rem; }
.pillar:last-child { border-radius: 0 1.4rem 1.4rem 0; }
.pillar-icon {
  display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: .9rem; font-size: 1.35rem; color: #fff;
  background: var(--dw-gradient); box-shadow: 0 10px 20px -8px rgba(79, 70, 229, .6);
}
.pillar h3 { font-size: 1.05rem; font-weight: 750; margin: 0 0 .3rem; letter-spacing: -.02em; }
.pillar p { margin: 0; color: var(--dw-muted); font-size: .85rem; line-height: 1.55; }

@media (max-width: 991.98px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar { border-right: 0; border-bottom: 1px solid var(--dw-line-soft); border-radius: 0 !important; }
  .pillar:nth-child(odd) { border-right: 1px solid var(--dw-line-soft); }
  .pillar:last-child { grid-column: 1 / -1; border-bottom: 0; border-right: 0; }
}
@media (max-width: 575.98px) {
  .pillars-wrap { margin-top: -4rem; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-child(odd) { flex-direction: row; align-items: flex-start; border-right: 0; padding: 1.2rem 1.25rem; }
  .pillar:last-child { border-bottom: 0; }
  .pillar-icon { flex: 0 0 auto; }
}

/* ---------- 5. Sections ----------------------------------------------------- */
.section { padding: 6rem 0; }
.section-alt { background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%); }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 3.5rem; }
.section-eyebrow {
  display: inline-block; margin-bottom: 1rem; padding: .32rem .85rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--dw-primary); background: var(--dw-primary-50); border: 1px solid var(--dw-primary-100);
}
.section-eyebrow.on-dark { color: #bfdbfe; background: rgba(96, 165, 250, .14); border-color: rgba(147, 197, 253, .3); }
.section-title { font-size: clamp(1.75rem, 3.3vw, 2.65rem); font-weight: 800; letter-spacing: -.038em; line-height: 1.12; margin-bottom: .9rem; text-wrap: balance; }
.section-sub { color: var(--dw-muted); font-size: 1.08rem; line-height: 1.65; margin: 0; }
@media (max-width: 767.98px) { .section { padding: 4rem 0; } .section-head { margin-bottom: 2.25rem; } }

/* ---------- 6. Service cards ------------------------------------------------- */
.service-grid { display: grid; gap: 1.5rem; }
.service-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.service-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1199.98px) { .service-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 991.98px) { .service-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .service-grid.cols-3, .service-grid.cols-4 { grid-template-columns: 1fr; } }

.service-card {
  position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.9rem 1.75rem 1.7rem;
  background: #fff; border: 1px solid var(--dw-line); border-radius: 1.25rem; box-shadow: var(--dw-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(22rem 12rem at 100% 0%, rgba(99, 102, 241, .08), transparent 70%);
  transition: opacity .25s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: #c7d2fe; box-shadow: 0 28px 50px -24px rgba(79, 70, 229, .35), var(--dw-shadow); }
.service-card:hover::after { opacity: 1; }
.service-icon {
  display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin-bottom: 1.3rem; border-radius: 1rem; font-size: 1.5rem;
  color: var(--dw-primary); background: var(--dw-primary-50); border: 1px solid var(--dw-primary-100);
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover .service-icon { color: #fff; background: var(--dw-gradient); border-color: transparent; box-shadow: 0 12px 22px -8px rgba(79, 70, 229, .65); }
.service-card h3 { font-size: 1.15rem; font-weight: 750; letter-spacing: -.02em; margin-bottom: .55rem; }
.service-card p {
  color: var(--dw-muted); font-size: .93rem; line-height: 1.6; margin-bottom: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.service-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: 1.25rem; font-size: .88rem; font-weight: 650; color: var(--dw-primary); }
.service-link i { transition: transform .2s ease; }
.service-card:hover .service-link i, .work-card:hover .service-link i { transform: translateX(5px); }
/* Optional featured image across the top of a service card (Services index) */
.service-thumb { margin: -1.9rem -1.75rem 1.4rem; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 1.25rem 1.25rem 0 0; background: linear-gradient(135deg, #e0e7ff, #f1f5f9); }
.service-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-thumb img { transform: scale(1.06); }

/* ---------- 7. Process ------------------------------------------------------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.process-step {
  position: relative; overflow: hidden; padding: 2.1rem 1.6rem 1.7rem;
  background: #fff; border: 1px solid var(--dw-line); border-radius: 1.25rem; box-shadow: var(--dw-shadow-sm);
}
.process-step::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; background: var(--dw-gradient); }
.process-step:nth-child(1)::before { width: 25%; }
.process-step:nth-child(2)::before { width: 50%; }
.process-step:nth-child(3)::before { width: 75%; }
.process-step:nth-child(4)::before { width: 100%; }
.process-num {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: 1.1rem; border-radius: 50%;
  font-size: 1rem; font-weight: 800; color: #fff; background: var(--dw-gradient); box-shadow: 0 10px 20px -8px rgba(79, 70, 229, .6);
}
.process-step h3 { font-size: 1.08rem; font-weight: 750; letter-spacing: -.02em; margin-bottom: .5rem; }
.process-step p { color: var(--dw-muted); font-size: .92rem; line-height: 1.6; margin: 0; }
@media (max-width: 1199.98px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .process { grid-template-columns: 1fr; } }

/* ---------- 8. Customer-portal showcase (dark band) ------------------------------- */
.portal-showcase {
  position: relative; overflow: hidden; color: #cbd5e1;
  background:
    radial-gradient(40rem 24rem at 100% 0%, rgba(124, 58, 237, .35), transparent 62%),
    radial-gradient(36rem 22rem at 0% 100%, rgba(37, 99, 235, .35), transparent 62%),
    linear-gradient(165deg, #080e1c 0%, #101c38 100%);
}
.portal-showcase::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 15%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000 15%, transparent 70%);
}
.portal-showcase .container { position: relative; }
.portal-showcase .section-title { color: #fff; }
.portal-lead { font-size: 1.08rem; line-height: 1.65; color: #b6c2d6; margin: 0 0 1.6rem; }
.portal-points { display: grid; gap: 1.05rem; margin: 0; padding: 0; list-style: none; }
.portal-points li { display: flex; align-items: flex-start; gap: .95rem; }
.portal-points li > i {
  flex: 0 0 auto; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .8rem; font-size: 1.15rem;
  color: #93c5fd; background: rgba(96, 165, 250, .13); border: 1px solid rgba(147, 197, 253, .25);
}
.portal-points strong { display: block; color: #fff; font-weight: 650; font-size: .98rem; }
.portal-points span { font-size: .88rem; color: #94a3b8; }
.portal-showcase .btn-outline-light { --bs-btn-color: #e2e8f0; --bs-btn-border-color: rgba(255, 255, 255, .28); --bs-btn-hover-bg: rgba(255, 255, 255, .1); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: rgba(255, 255, 255, .5); }
.portal-showcase .btn-light { color: var(--dw-primary-800); font-weight: 700; }

.portal-mock {
  overflow: hidden; border-radius: 1.2rem; background: #fff; color: var(--dw-text);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .1);
  transform: perspective(1600px) rotateY(-4deg) rotateX(1.5deg); transform-origin: 80% 50%;
}
.pm-bar { display: flex; align-items: center; gap: .9rem; padding: .7rem 1rem; background: #f1f5f9; border-bottom: 1px solid var(--dw-line); }
.pm-bar .hv-dots i { background: #cbd5e1; }
.pm-url { display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .8rem; border-radius: 999px; font-size: .7rem; color: var(--dw-muted); background: #fff; border: 1px solid var(--dw-line); }
.pm-url .bi { color: #16a34a; font-size: .65rem; }
.pm-body { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); min-height: 17.5rem; }
.pm-side { display: flex; flex-direction: column; gap: .2rem; padding: 1rem .7rem; background: #f8fafc; border-right: 1px solid var(--dw-line); }
.pm-side span { display: flex; align-items: center; gap: .55rem; padding: .5rem .65rem; border-radius: .55rem; font-size: .76rem; font-weight: 600; color: var(--dw-muted); }
.pm-side span.is-active { color: var(--dw-primary); background: var(--dw-primary-50); }
.pm-main { padding: 1.1rem 1.2rem; }
.pm-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.4rem, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.pm-tile { padding: .65rem .75rem; border: 1px solid var(--dw-line); border-radius: .75rem; background: #fff; }
.pm-tile span { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dw-subtle); margin-bottom: .25rem; }
.pm-tile b { display: flex; align-items: center; gap: .35rem; font-size: .74rem; font-weight: 700; color: var(--dw-ink); line-height: 1.25; }
.pm-tile b i { color: var(--dw-primary); font-size: .9rem; }
.pm-row { padding: .8rem .9rem; margin-bottom: .6rem; border: 1px solid var(--dw-line); border-radius: .8rem; }
.pm-row-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .55rem; font-size: .8rem; color: var(--dw-ink); }
.pm-row .hv-pill { margin-left: 0; color: #4338ca; background: #eef2ff; border-color: #c7d2fe; }
.pm-row .hv-pill.is-ok { color: #15803d; background: #dcfce7; border-color: #bbf7d0; }
.pm-progress { height: .45rem; overflow: hidden; border-radius: 999px; background: #e2e8f0; }
.pm-progress i { display: block; height: 100%; border-radius: inherit; background: var(--dw-gradient); }
.pm-progress.is-ok i { background: linear-gradient(90deg, #22c55e, #16a34a); }
.pm-row-foot { display: flex; justify-content: space-between; margin-top: .35rem; font-size: .68rem; color: var(--dw-muted); }
@media (max-width: 991.98px) { .portal-mock { transform: none; } }
@media (max-width: 575.98px) { .pm-body { grid-template-columns: 1fr; } .pm-side { display: none; } .pm-url { display: none; } }

/* Same list as .portal-points but on a light surface (About page side card) */
.about-points { gap: .95rem; }
.about-points li > i { color: var(--dw-primary); background: var(--dw-primary-50); border-color: var(--dw-primary-100); }
.about-points strong { color: var(--dw-ink); }
.about-points span { color: var(--dw-muted); }

/* ---------- 9. Featured work ------------------------------------------------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 991.98px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .work-grid { grid-template-columns: 1fr; } }
.work-card {
  position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: #fff; border: 1px solid var(--dw-line); border-radius: 1.25rem; box-shadow: var(--dw-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--dw-shadow-lg); }
.work-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #e0e7ff, #f1f5f9); }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work-card:hover .work-img img { transform: scale(1.07); }
.work-placeholder { display: grid; place-items: center; height: 100%; font-size: 2.8rem; color: #a5b4fc; }
.work-chip {
  position: absolute; left: .9rem; top: .9rem; padding: .25rem .7rem; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .04em;
  color: #fff; background: rgba(11, 18, 32, .65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .2);
}
.work-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.4rem 1.4rem; }
.work-body h3 { font-size: 1.1rem; font-weight: 750; letter-spacing: -.02em; margin-bottom: .25rem; }
.work-body p { color: var(--dw-muted); font-size: .9rem; margin: 0; }

/* ---------- 10. About / value cards --------------------------------------------- */
.about-text { color: var(--dw-muted); font-size: 1.08rem; line-height: 1.75; white-space: pre-line; margin: 0 0 1rem; }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
@media (max-width: 575.98px) { .value-grid { grid-template-columns: 1fr; } }
.value-card { height: 100%; padding: 1.5rem; background: #fff; border: 1px solid var(--dw-line); border-radius: 1.1rem; box-shadow: var(--dw-shadow-sm); }
.value-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: 1rem; border-radius: .85rem; font-size: 1.2rem; color: var(--dw-primary); background: var(--dw-primary-50); }
.value-card h3 { font-size: 1rem; font-weight: 750; letter-spacing: -.015em; margin-bottom: .35rem; }
.value-card p { margin: 0; color: var(--dw-muted); font-size: .88rem; line-height: 1.55; }

/* ---------- 11. Legacy cards (still used by a few CMS-driven areas) --------------- */
.feature-icon {
  display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin-bottom: 1.15rem;
  border-radius: 1rem; font-size: 1.5rem; color: #fff; background: var(--dw-gradient);
  box-shadow: 0 10px 20px -8px rgba(79, 70, 229, .6);
}

/* Category headings on the Services / Portfolio index */
.category-head { display: flex; align-items: center; gap: .9rem; margin: 0 0 1.5rem; }
.category-head h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.025em; margin: 0; }
.category-head .count { padding: .15rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; color: var(--dw-muted); background: #f1f5f9; }
.category-head::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--dw-line); }

/* Catalog filter bar (Services / Portfolio index) */
.filter-bar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; }
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-chip {
  padding: .5rem 1.05rem; border: 1px solid var(--dw-line); border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--dw-text); background: #fff;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.filter-chip:hover { border-color: #c7d2fe; color: var(--dw-primary); }
.filter-chip.is-active { color: #fff; background: var(--dw-gradient); border-color: transparent; box-shadow: 0 8px 18px -8px rgba(79, 70, 229, .7); }
.filter-search { position: relative; width: 100%; max-width: 19rem; }
.filter-search .bi { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--dw-subtle); pointer-events: none; }
.filter-search input { padding-left: 2.4rem; border-radius: 999px; }
.catalog-empty { display: none; text-align: center; padding: 3rem 1rem; color: var(--dw-muted); }
.catalog-empty.is-visible { display: block; }
@media (max-width: 575.98px) {
  /* Category chips become one swipeable row instead of a tall wrapped block */
  .filter-bar { gap: .75rem; margin-bottom: 2rem; }
  .filter-chips { width: 100%; flex-wrap: nowrap; overflow-x: auto; margin-inline: -.75rem; padding: .25rem .75rem .5rem; scrollbar-width: none; }
  .filter-chips::-webkit-scrollbar { display: none; }
  .filter-chip { flex: 0 0 auto; white-space: nowrap; }
  .filter-bar { min-width: 0; }
  .filter-search { max-width: none; }
}

/* ---------- 12. Testimonials / FAQ / CTA ---------------------------------------- */
.testimonial-card {
  position: relative; display: flex; flex-direction: column; height: 100%; margin: 0; padding: 1.9rem;
  background: #fff; border: 1px solid var(--dw-line); border-radius: 1.25rem; box-shadow: var(--dw-shadow-sm);
}
.testimonial-card::before {
  content: "\201C"; position: absolute; top: .5rem; right: 1.4rem;
  font-family: Georgia, serif; font-size: 5.5rem; line-height: 1; color: var(--dw-primary-100);
}
.testimonial-stars { color: #f59e0b; letter-spacing: .1em; font-size: .95rem; margin-bottom: .85rem; }
.testimonial-text { position: relative; flex: 1; margin: 0; color: var(--dw-ink); font-size: 1.02rem; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: .8rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--dw-line-soft); }
.testimonial-author img { width: 2.9rem; height: 2.9rem; border-radius: 50%; object-fit: cover; }

.faq-intro { position: sticky; top: 7rem; }
.faq .accordion-item {
  margin-bottom: .8rem; border: 1px solid var(--dw-line); border-radius: 1rem !important; overflow: hidden; box-shadow: var(--dw-shadow-xs); background: #fff;
}
.faq .accordion-button { padding: 1.2rem 1.5rem; font-size: 1.02rem; font-weight: 650; color: var(--dw-ink); }
.faq .accordion-button:not(.collapsed) { box-shadow: none; color: var(--dw-primary); background: #fafbff; }
.faq .accordion-body { color: var(--dw-text); padding: .25rem 1.5rem 1.4rem; line-height: 1.7; }
@media (max-width: 991.98px) { .faq-intro { position: static; } }

.cta-band {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  padding: 4.5rem 1.5rem; border-radius: 1.75rem;
  background:
    radial-gradient(28rem 16rem at 90% 0%, rgba(255, 255, 255, .2), transparent 60%),
    radial-gradient(24rem 14rem at 0% 100%, rgba(6, 182, 212, .35), transparent 60%),
    var(--dw-gradient);
  box-shadow: 0 34px 70px -28px rgba(79, 70, 229, .65);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1.5px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.038em; margin-bottom: .85rem; text-wrap: balance; }
.cta-band p { color: rgba(255, 255, 255, .9); margin: 0 auto 2rem; max-width: 38rem; font-size: 1.1rem; }
.cta-band .btn-light { color: var(--dw-primary-800); font-weight: 700; }
.cta-band .btn-outline-light { --bs-btn-color: #fff; --bs-btn-border-color: rgba(255, 255, 255, .5); --bs-btn-hover-bg: rgba(255, 255, 255, .14); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }
@media (max-width: 575.98px) { .cta-band { padding: 3rem 1.25rem; border-radius: 1.4rem; } .cta-actions .btn { width: 100%; } }

/* ---------- 13. Inner-page hero + prose ------------------------------------------ */
.page-hero {
  position: relative; overflow: hidden; color: #fff; padding: 4.5rem 0 4.25rem;
  background:
    radial-gradient(44rem 22rem at 92% -25%, rgba(124, 58, 237, .42), transparent 62%),
    radial-gradient(36rem 20rem at 0% 125%, rgba(37, 99, 235, .38), transparent 62%),
    linear-gradient(160deg, #080e1c 0%, #13203d 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 80% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 100% at 80% 0%, #000 10%, transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero .eyebrow { display: inline-block; margin-bottom: 1rem; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #93c5fd; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin: 0 0 .8rem; text-wrap: balance; }
.page-hero p { color: #b6c2d6; margin: 0; font-size: 1.12rem; line-height: 1.6; max-width: 44rem; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: #64748b; --bs-breadcrumb-item-active-color: #cbd5e1; margin-bottom: 1.1rem; }
.page-hero .breadcrumb a { color: #93c5fd; }
.page-hero .breadcrumb .text-muted { color: #94a3b8 !important; }
.page-hero .hero-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.3rem; color: #cbd5e1; font-size: .92rem; }
.page-hero .hero-meta .bi { color: #93c5fd; margin-right: .4rem; }
@media (max-width: 575.98px) { .page-hero { padding: 3.25rem 0 3rem; } }

.prose { font-size: 1.07rem; line-height: 1.8; color: var(--dw-text); }
.prose p { margin-bottom: 1.2rem; }
.prose .lead { font-size: 1.3rem; color: var(--dw-ink); font-weight: 500; line-height: 1.6; }
.prose h2, .prose h3 { margin: 2.2rem 0 .8rem; }

/* Service / project detail */
.detail-figure { overflow: hidden; margin: 0; border-radius: 1.25rem; border: 1px solid var(--dw-line); box-shadow: var(--dw-shadow-lg); }
.detail-figure img { display: block; width: 100%; }
.detail-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: .9rem; border: 1px solid var(--dw-line); transition: transform .25s ease, box-shadow .25s ease; }
.detail-gallery a:hover img { transform: translateY(-3px); box-shadow: var(--dw-shadow-lg); }
.side-cta { position: sticky; top: 7rem; border-radius: 1.25rem; padding: 1.9rem; background: #fff; border: 1px solid var(--dw-line); box-shadow: var(--dw-shadow-lg); }
.side-cta h2 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.025em; margin-bottom: .35rem; }
.side-cta .service-icon { margin-bottom: 1rem; color: #fff; background: var(--dw-gradient); border-color: transparent; box-shadow: 0 12px 22px -8px rgba(79, 70, 229, .65); }
.side-points { display: grid; gap: .65rem; margin: 1.25rem 0 1.5rem; padding: 0; list-style: none; font-size: .9rem; color: var(--dw-text); }
.side-points li { display: flex; gap: .6rem; align-items: flex-start; }
.side-points .bi { color: var(--dw-success); margin-top: .15rem; }
.before-after-label { display: inline-block; margin-bottom: .6rem; padding: .22rem .7rem; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: #f1f5f9; color: #475569; }
.tech-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.tech-chips span { padding: .35rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--dw-primary-800); background: var(--dw-primary-50); border: 1px solid var(--dw-primary-100); }

/* Before / after comparison slider (portfolio detail) */
.compare { --pos: 50%; position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 1.25rem; border: 1px solid var(--dw-line); box-shadow: var(--dw-shadow-lg); background: #e2e8f0; user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 23, 42, .15); pointer-events: none; }
.compare-handle::after {
  content: "\2194"; position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; transform: translate(-50%, -50%);
  border-radius: 50%; font-size: 1.1rem; font-weight: 700; color: var(--dw-primary); background: #fff; box-shadow: 0 8px 22px rgba(15, 23, 42, .35);
}
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare input[type=range]:focus-visible + .compare-handle::after { outline: 3px solid rgba(37, 99, 235, .55); outline-offset: 2px; }
.compare-tag { position: absolute; top: .9rem; padding: .25rem .7rem; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(11, 18, 32, .7); pointer-events: none; }
.compare-tag.is-before { left: .9rem; }
.compare-tag.is-after { right: .9rem; }

/* Forms on public pages */
.form-card { background: #fff; border: 1px solid var(--dw-line); border-radius: 1.4rem; box-shadow: var(--dw-shadow-lg); padding: 2.25rem; }
@media (max-width: 575.98px) { .form-card { padding: 1.35rem; } }
.info-step { display: flex; gap: .95rem; margin-bottom: 1.35rem; }
.info-step-num { flex: 0 0 auto; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; font-size: .85rem; font-weight: 700; color: #fff; background: var(--dw-gradient); }
.info-step h3 { font-size: 1rem; font-weight: 700; margin: .1rem 0 .15rem; }
.info-step p { margin: 0; color: var(--dw-muted); font-size: .9rem; }

.contact-cards { display: grid; gap: .9rem; margin-bottom: 2rem; }
.contact-card { display: flex; align-items: flex-start; gap: .95rem; padding: 1.1rem 1.25rem; background: #fff; border: 1px solid var(--dw-line); border-radius: 1rem; box-shadow: var(--dw-shadow-xs); }
.contact-card > i { flex: 0 0 auto; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: .85rem; font-size: 1.15rem; color: var(--dw-primary); background: var(--dw-primary-50); }
.contact-card small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dw-subtle); }
.contact-card a, .contact-card span.value { color: var(--dw-ink); font-weight: 600; word-break: break-word; }
.contact-card a:hover { color: var(--dw-primary); }

/* ---------- 14. Footer --------------------------------------------------------- */
.dw-site-footer { position: relative; background: #070d1a; color: #94a3b8; padding-top: 4.5rem; }
.dw-site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(99, 102, 241, .7), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2.5rem 3rem; }
.dw-site-footer h6 { color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.2rem; }
.dw-site-footer a { color: #94a3b8; }
.dw-site-footer a:hover { color: #fff; text-decoration: none; }
.dw-site-footer .footer-links { list-style: none; padding: 0; margin: 0; }
.dw-site-footer .footer-links li { margin-bottom: .7rem; font-size: .92rem; }
.dw-site-footer .brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; font-weight: 800; font-size: 1.2rem; letter-spacing: -.03em; }
.dw-site-footer .brand:hover { color: #fff; }
.dw-site-footer .tagline { margin: 1.1rem 0 0; max-width: 24rem; font-size: .92rem; line-height: 1.65; }
.footer-contact { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .7rem; font-size: .9rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: .7rem; }
.footer-contact .bi { color: #60a5fa; margin-top: .2rem; }
.footer-social { display: flex; gap: .55rem; margin-top: 1.5rem; }
.footer-social a { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .7rem; color: #cbd5e1; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .15s ease, transform .15s ease; }
.footer-social a:hover { color: #fff; background: var(--dw-primary); transform: translateY(-2px); }
.dw-site-footer .footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
  margin-top: 3.5rem; padding: 1.5rem 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem;
}
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
@media (max-width: 991.98px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 575.98px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; } }

.dw-back-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1025; display: grid; place-items: center;
  width: 2.8rem; height: 2.8rem; border: 0; border-radius: 50%; color: #fff; background: var(--dw-primary);
  box-shadow: var(--dw-shadow-lg); opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, background-color .15s ease;
}
.dw-back-top:hover { background: var(--dw-primary-700); }
.dw-back-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* Scroll reveal (only ever applied to below-the-fold elements by dw-ui.js) */
.dw-reveal-init { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.dw-reveal-init.is-in { opacity: 1; transform: none; }

/* Banner carousel on the home page */
.banner-carousel { border-radius: 1.4rem; overflow: hidden; box-shadow: var(--dw-shadow-lg); border: 1px solid var(--dw-line); }
.banner-carousel .carousel-caption { left: 1.25rem; right: 1.25rem; bottom: 1.25rem; text-align: left; padding: 1.1rem 1.35rem; border-radius: .9rem; background: rgba(11, 18, 32, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.banner-carousel .carousel-caption h5 { color: #fff; font-weight: 750; margin-bottom: .25rem; }
.banner-carousel .carousel-caption p { color: #cbd5e1; margin-bottom: .6rem; font-size: .9rem; }

/* ---------- 15. Auth screens (login, register, password reset...) ------------------ */
.auth-shell {
  position: relative; overflow: hidden; display: grid; place-items: center; padding: 4rem 1rem; min-height: calc(100vh - 12rem);
  background:
    radial-gradient(44rem 26rem at 8% 0%, rgba(37, 99, 235, .4), transparent 62%),
    radial-gradient(40rem 24rem at 100% 100%, rgba(124, 58, 237, .4), transparent 62%),
    linear-gradient(165deg, #080e1c 0%, #101c38 100%);
}
.auth-shell::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.auth-card { position: relative; width: 100%; max-width: 27.5rem; padding: 2.4rem 2.1rem; background: #fff; border: 1px solid rgba(255, 255, 255, .6); border-radius: 1.5rem; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.auth-card.is-wide { max-width: 37rem; }
.auth-brand { display: flex; justify-content: center; margin-bottom: 1.15rem; }
.auth-brand .dw-brand-mark { width: 3.2rem; height: 3.2rem; font-size: 1.1rem; border-radius: 1rem; }
.auth-card h1 { margin-bottom: .35rem; text-align: center; font-size: 1.65rem; font-weight: 800; letter-spacing: -.035em; }
.auth-sub { margin-bottom: 1.7rem; text-align: center; color: var(--dw-muted); font-size: .93rem; }
.auth-foot { margin: 1.3rem 0 0; text-align: center; color: var(--dw-muted); font-size: .88rem; }
.auth-icon { display: grid; place-items: center; width: 4rem; height: 4rem; margin: 0 auto 1rem; border-radius: 50%; font-size: 1.8rem; }
.auth-icon.is-success { color: var(--dw-success); background: #dcfce7; }
.auth-icon.is-danger { color: var(--dw-danger); background: #fee2e2; }
.auth-icon.is-info { color: var(--dw-primary); background: var(--dw-primary-50); }
@media (max-width: 575.98px) { .auth-card { padding: 1.9rem 1.3rem; } }

.status-page { text-align: center; padding: 6rem 1rem; }
.status-page .auth-icon { width: 5rem; height: 5rem; font-size: 2.3rem; }
.status-page h1 { font-size: 1.9rem; font-weight: 800; letter-spacing: -.035em; }
.status-page p { color: var(--dw-muted); max-width: 30rem; margin-inline: auto; }

/* ---------- 16. Motion + print --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hv-stitch, .hv-code, .hv-chip, .hero-eyebrow .pulse { animation: none !important; }
  .dw-reveal-init { transition: none !important; }
  .service-card, .work-card, .dw-nav-cta { transition: none !important; }
}

/* Never print (or capture) content that a scroll-reveal has not shown yet. */
@media print {
  .dw-reveal-init { opacity: 1 !important; transform: none !important; transition: none !important; }
  .dw-site-header { position: static; box-shadow: none; }
  .dw-topbar, .dw-back-top { display: none !important; }
}
