/* CyberWithJohann Dev: product-page styling layered on brand.css. */

.dev {
  --dv-bg: #000;
  --dv-bg-2: #0b0b0d;
  --dv-card: #131315;
  --dv-card-2: #1b1b1e;
  --dv-line: rgba(255, 255, 255, 0.1);
  --dv-ink: #f5f5f7;
  --dv-soft: #a1a1a6;
  --dv-mute: #86868b;
  --dv-orange: #ff6b35;
  --dv-amber: #ffb84d;
  --dv-cyan: #5ce1ff;
  --dv-green: #30d158;
  --dv-red: #ff453a;
  --dv-yellow: #ffd60a;
  --dv-ease: cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--dv-bg);
  color: var(--dv-ink);
}

.dv-wrap {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}

.dv-grad {
  color: var(--dv-orange);
  background: linear-gradient(92deg, #ff6b35 0%, #ff9a4d 45%, #ffcf7a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dv-serif {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.dv-muted { color: var(--dv-mute); }

.dv-eyebrow,
.dv-kicker {
  margin: 0 0 18px;
  color: var(--dv-orange);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.dv-btn {
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--dv-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 180ms var(--dv-ease), background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.dv-btn:hover { transform: translateY(-2px); border-color: #fff; }

.dv-btn--primary {
  border-color: var(--dv-orange);
  background: var(--dv-orange);
  color: #1a0f0a;
}

.dv-btn--primary:hover { background: #ff875c; border-color: #ff875c; }

.dv-btn svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.dv-hero {
  position: relative;
  min-height: max(720px, 100svh);
  padding: 120px 0 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 55% at 72% 46%, rgba(255, 107, 53, 0.16), transparent 70%),
    radial-gradient(40% 40% at 64% 60%, rgba(92, 225, 255, 0.1), transparent 70%),
    #000;
}

.dv-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(60% 60% at 70% 50%, #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 60% at 70% 50%, #000 0%, transparent 75%);
}

.dv-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: 24px;
}

.dv-hero__stage {
  position: relative;
  height: min(68vh, 640px);
  min-height: 420px;
  pointer-events: none;
}

.dv-hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 900ms ease;
}

.dv-hero__stage.is-ready .dv-hero__canvas { opacity: 1; }

/* Illustrated robot: shown instantly, and kept for reduced motion or no WebGL. */
.dv-bot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100%, 520px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  transition: opacity 700ms ease;
}

.dv-hero__stage.is-ready .dv-bot { opacity: 0; }

.dv-bot svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: dv-float 6s ease-in-out infinite;
}

.dv-bot .dv-eye { transform-box: fill-box; transform-origin: center; animation: dv-blink 5.2s infinite; }

@keyframes dv-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes dv-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.12); }
}

.dv-hero__copy {
  position: relative;
}

.dv-display {
  margin: 0;
  max-width: 9.5ch;
  font-size: clamp(52px, 6.8vw, 104px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.dv-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  filter: blur(8px);
  animation: dv-rise 1100ms var(--dv-ease) forwards;
  animation-delay: calc(120ms + var(--d, 0) * 110ms);
}

@keyframes dv-rise {
  to { opacity: 1; transform: none; filter: blur(0); }
}

.dv-lede {
  margin: 28px 0 0;
  max-width: 34em;
  color: var(--dv-soft);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  opacity: 0;
  animation: dv-fade 900ms ease 620ms forwards;
}

.dv-lede strong { color: var(--dv-ink); font-weight: 600; }

.dv-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  animation: dv-fade 900ms ease 780ms forwards;
}

@keyframes dv-fade { to { opacity: 1; } }

.dv-stats {
  position: relative;
  z-index: 2;
  margin-top: clamp(48px, 9vh, 96px);
  padding-top: 22px;
  border-top: 1px solid var(--dv-line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  opacity: 0;
  animation: dv-fade 900ms ease 950ms forwards;
}

.dv-stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; }

.dv-stats dt {
  color: var(--dv-mute);
  font-size: 13px;
  line-height: 1.35;
}

.dv-stats dd {
  margin: 0;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* ---------- Local sub-navigation (Apple product bar) ---------- */
.dv-local {
  position: sticky;
  top: 52px;
  z-index: 50;
  border-bottom: 1px solid var(--dv-line);
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.dv-local__inner {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.dv-local__title {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.dv-local__links {
  margin-left: auto;
  display: flex;
  gap: 22px;
  font-size: 13px;
}

.dv-local__links a {
  color: var(--dv-soft);
  transition: color 160ms ease;
}

.dv-local__links a:hover,
.dv-local__links a.is-active { color: var(--dv-ink); }

.dv-local__cta {
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--dv-ink);
  color: #000;
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
}

.dv-local {
  transition: background-color 300ms ease, border-color 300ms ease;
}

.dv-local.is-light {
  border-bottom-color: rgba(0, 0, 0, 0.08);
  background: rgba(245, 245, 247, 0.8);
}

.dv-local.is-light .dv-local__title { color: #1d1d1f; }
.dv-local.is-light .dv-local__links a { color: #6e6e73; }
.dv-local.is-light .dv-local__links a:hover,
.dv-local.is-light .dv-local__links a.is-active { color: #1d1d1f; }
.dv-local.is-light .dv-local__cta { background: #1d1d1f; color: #fff; }

/* ---------- Sections ---------- */
.dv-section {
  position: relative;
  padding: clamp(96px, 13vw, 160px) 0;
  scroll-margin-top: 104px;
}

.dv-section--alt { background: var(--dv-bg-2); }

.dv-head { max-width: 780px; margin-bottom: clamp(56px, 7vw, 88px); }

.dv-h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.dv-head p:not(.dv-kicker) {
  margin: 22px 0 0;
  max-width: 38em;
  color: var(--dv-soft);
  font-size: 19px;
  line-height: 1.55;
}

.dv-anchor {
  position: absolute;
  top: -104px;
}

/* ---------- Projects ---------- */
.dv-project + .dv-project { margin-top: clamp(96px, 11vw, 150px); }

.dv-project__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

/* The illustration stays pinned while its longer description scrolls past. */
@media (min-width: 1001px) {
  .dv-project .dv-visual {
    position: sticky;
    top: calc(104px + 6vh);
  }
}

.dv-project:nth-of-type(even) .dv-project__copy { order: 2; }

.dv-tag {
  margin: 0 0 16px;
  color: var(--dv-mute);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dv-tag span {
  min-width: 30px;
  height: 22px;
  padding: 0 7px;
  border-radius: 6px;
  background: rgba(255, 107, 53, 0.14);
  color: var(--dv-orange);
  display: inline-grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
}

.dv-project h3 {
  margin: 0;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.dv-project__lede {
  margin: 18px 0 0;
  color: var(--dv-soft);
  font-size: 19px;
  line-height: 1.5;
}

.dv-points {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.dv-points li {
  position: relative;
  padding-left: 26px;
  color: #d2d2d7;
  font-size: 15.5px;
  line-height: 1.5;
}

.dv-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.6l4.6-5' fill='none' stroke='%231a0f0a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat,
    var(--dv-orange);
}

.dv-chips {
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dv-chips span {
  padding: 7px 12px;
  border: 1px solid var(--dv-line);
  border-radius: 999px;
  color: #d2d2d7;
  font-size: 12.5px;
  font-weight: 550;
}

.dv-code {
  position: relative;
  margin: 26px 0 0;
  border: 1px solid var(--dv-line);
  border-radius: 14px;
  background: #0b0b0d;
  overflow: hidden;
}

.dv-code__bar {
  padding: 9px 12px 9px 16px;
  border-bottom: 1px solid var(--dv-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--dv-mute);
  font-size: 12px;
}

.dv-copy {
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid var(--dv-line);
  border-radius: 999px;
  background: transparent;
  color: var(--dv-soft);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
}

.dv-copy:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.dv-copy.is-done { color: var(--dv-green); border-color: rgba(48, 209, 88, 0.5); }

.dv-code pre {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  color: #e8e8ed;
  font: 13.5px/1.7 ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
}

.dv-code .c { color: var(--dv-mute); }
.dv-code .k { color: var(--dv-cyan); }

.dv-links {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}

.dv-link {
  color: var(--dv-orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 600;
}

.dv-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.dv-link::after { content: "\203A"; font-size: 1.15em; line-height: 1; }

.dv-note {
  margin: 18px 0 0;
  color: var(--dv-mute);
  font-size: 13px;
  line-height: 1.5;
}

.dv-visual {
  position: relative;
  margin: 0;
  border-radius: 28px;
  background: linear-gradient(160deg, #18181b, #0c0c0e);
  border: 1px solid var(--dv-line);
  box-shadow: 0 40px 120px -40px rgba(255, 107, 53, 0.25);
  overflow: hidden;
}

.dv-visual figcaption {
  padding: 12px 18px 16px;
  color: var(--dv-mute);
  font-size: 12px;
}

/* Dashboard illustration */
.dv-dash { padding: 14px 14px 0; }

.dv-chrome {
  height: 34px;
  padding: 0 14px;
  border-radius: 12px 12px 0 0;
  background: #222225;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8e8e93;
  font-size: 11.5px;
}

.dv-chrome i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #48484c;
}

.dv-chrome i:nth-child(1) { background: #ff5f57; }
.dv-chrome i:nth-child(2) { background: #febc2e; }
.dv-chrome i:nth-child(3) { background: #28c840; }
.dv-chrome span { margin-left: 10px; }

.dv-dash__body {
  display: grid;
  grid-template-columns: 128px 1fr;
  min-height: 360px;
  background: #f5f5f7;
  color: #1d1d1f;
}

.dv-dash__side {
  padding: 16px 12px;
  background: #16171b;
  color: #c7c7cc;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}

.dv-dash__side b {
  margin: 0 0 10px 8px;
  color: #fff;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.dv-dash__side span {
  padding: 7px 8px;
  border-radius: 7px;
}

.dv-dash__side span.on { background: rgba(255, 107, 53, 0.18); color: #ffb08f; }

.dv-dash__main {
  padding: 16px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.dv-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.dv-kpi {
  padding: 10px 11px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.dv-kpi span {
  display: block;
  color: #6e6e73;
  font-size: 10.5px;
  font-weight: 600;
}

.dv-kpi strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.dv-kpi--crit strong { color: #d70015; }
.dv-kpi--warn strong { color: #b25000; }
.dv-kpi--ok strong { color: #248a3d; }

.dv-panel {
  padding: 12px;
  border-radius: 10px;
  background: #fff;
}

.dv-panel h4 {
  margin: 0 0 10px;
  color: #6e6e73;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dv-bars { display: grid; gap: 7px; }

.dv-bar {
  display: grid;
  grid-template-columns: 58px 1fr 22px;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #3a3a3c;
}

.dv-bar i {
  height: 8px;
  border-radius: 99px;
  background: #ececf0;
  overflow: hidden;
}

.dv-bar i::before {
  content: "";
  display: block;
  height: 100%;
  width: calc(var(--v) * 1%);
  border-radius: inherit;
  background: var(--c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1200ms var(--dv-ease);
  transition-delay: calc(var(--n, 0) * 90ms);
}

.dv-dash.is-live .dv-bar i::before { transform: scaleX(1); }

.dv-bar b { font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }

.dv-rows {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.dv-rows td {
  padding: 7px 4px;
  border-top: 1px solid #ececf0;
  color: #3a3a3c;
  white-space: nowrap;
}

.dv-rows td:nth-child(2) { white-space: normal; }
.dv-rows tr:first-child td { border-top: 0; }

.dv-pill {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 650;
  display: inline-block;
  transition: background-color 400ms ease, color 400ms ease;
}

.dv-pill--crit { background: #ffe5e7; color: #b0000f; }
.dv-pill--high { background: #fff0e0; color: #9a4400; }
.dv-pill--med { background: #fff8d6; color: #7a5a00; }
.dv-pill--open { background: #ececf0; color: #3a3a3c; }
.dv-pill--prog { background: #e3f0ff; color: #0058b0; }
.dv-pill--retest { background: #f1e6ff; color: #6a1fb8; }
.dv-pill--closed { background: #e3f7e8; color: #1d6b31; }

/* Terminal */
.dv-term__body {
  margin: 0;
  min-height: 420px;
  padding: 20px 22px 24px;
  background: #0a0a0c;
  color: #d8d8dd;
  font: 13px/1.62 ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  white-space: pre-wrap;
}

.dv-term__body .p { color: var(--dv-cyan); }
.dv-term__body .ok { color: var(--dv-green); }
.dv-term__body .warn { color: var(--dv-amber); }
.dv-term__body .h { color: #fff; font-weight: 700; }
.dv-term__body .m { color: var(--dv-mute); }

.dv-caret {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  margin-left: 1px;
  vertical-align: -0.15em;
  background: var(--dv-cyan);
  animation: dv-caret 1s steps(1) infinite;
}

@keyframes dv-caret { 50% { opacity: 0; } }

.dv-checks {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.dv-checks li {
  padding: 11px 13px;
  border: 1px solid var(--dv-line);
  border-radius: 12px;
  background: var(--dv-card);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d2d2d7;
  font-size: 14px;
}

.dv-checks li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--dv-cyan);
  box-shadow: 0 0 12px var(--dv-cyan);
}

/* ColorRing illustration */
.dv-arena {
  position: relative;
  aspect-ratio: 1 / 0.86;
  display: grid;
  place-items: center;
  perspective: 900px;
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(255, 184, 77, 0.14), transparent 70%),
    linear-gradient(160deg, #18181b, #0c0c0e);
}

.dv-rings {
  position: relative;
  width: 64%;
  aspect-ratio: 1;
  transform: rotateX(58deg) rotateZ(0deg);
  transform-style: preserve-3d;
}

.dv-ring {
  position: absolute;
  inset: var(--in, 0%);
  border-radius: 50%;
  background: conic-gradient(#ff6b35 0 25%, #ffd60a 0 50%, #5ce1ff 0 75%, #ff4fa0 0 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--w, 18px)), #000 calc(100% - var(--w, 18px) + 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - var(--w, 18px)), #000 calc(100% - var(--w, 18px) + 1px));
  box-shadow: 0 0 40px rgba(255, 107, 53, 0.25);
  animation: dv-spin var(--t, 9s) linear infinite;
  animation-direction: var(--dir, normal);
}

.dv-ring:nth-child(1) { --in: 0%; --w: 20px; --t: 11s; }
.dv-ring:nth-child(2) { --in: 16%; --w: 16px; --t: 7s; --dir: reverse; }
.dv-ring:nth-child(3) { --in: 31%; --w: 12px; --t: 5s; }

.dv-ball {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #ffd60a 45%, #ff9f0a 80%);
  box-shadow: 0 0 30px rgba(255, 214, 10, 0.6);
  animation: dv-bounce 2.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes dv-spin { to { transform: rotate(360deg); } }

@keyframes dv-bounce {
  0%, 100% { transform: translateY(-150px) scale(0.9); }
  50% { transform: translateY(40px) scale(1.06); }
}

.is-paused .dv-ring,
.is-paused .dv-ball { animation-play-state: paused; }

/* ---------- Services (light bento) ---------- */
.dv-light {
  background: #f5f5f7;
  color: #1d1d1f;
}

.dv-light .dv-kicker { color: #c2410c; }
.dv-light .dv-head p:not(.dv-kicker) { color: #6e6e73; }

.dv-creds {
  margin: 0 0 clamp(40px, 5vw, 64px);
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.08);
}

.dv-creds li {
  padding: 22px 24px;
  background: #fff;
  color: #3a3a3c;
  font-size: 15px;
  line-height: 1.45;
}

.dv-creds strong {
  display: block;
  margin-bottom: 6px;
  color: #1d1d1f;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.dv-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.dv-tile {
  --mx: 50%;
  --my: 50%;
  position: relative;
  min-height: 280px;
  padding: 30px;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 260ms var(--dv-ease), box-shadow 260ms ease;
}

.dv-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 107, 53, 0.12), transparent 60%);
  transition: opacity 260ms ease;
  pointer-events: none;
}

.dv-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.25);
}

.dv-tile:hover::before { opacity: 1; }

.dv-tile--wide { grid-column: span 2; }

.dv-tile--dark {
  background: #1d1d1f;
  color: #f5f5f7;
}

.dv-tile--dark p { color: #a1a1a6 !important; }

.dv-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(140deg, #ff6b35, #ffb84d);
  color: #1a0f0a;
  display: grid;
  place-items: center;
}

.dv-icon svg { width: 24px; height: 24px; }

.dv-tile h3 {
  margin: auto 0 0;
  padding-top: 40px;
  font-size: 25px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.dv-tile p {
  margin: 10px 0 0;
  max-width: 34em;
  color: #6e6e73;
  font-size: 15.5px;
  line-height: 1.5;
}

.dv-tile small {
  margin-top: 16px;
  color: #6e6e73;
  font-size: 12.5px;
  font-weight: 600;
}

.dv-tile--dark small { color: #a1a1a6; }

.dv-tile--cta {
  background: linear-gradient(140deg, #ff6b35, #ff9a4d);
  color: #1a0f0a;
}

.dv-tile--cta p { color: rgba(26, 15, 10, 0.78) !important; }

.dv-tile--cta a {
  margin-top: 22px;
  align-self: flex-start;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: #1a0f0a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 650;
}

/* ---------- Stack marquee ---------- */
.dv-marquee {
  margin-top: 14px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.dv-marquee__track {
  width: max-content;
  display: flex;
  gap: 12px;
  animation: dv-marquee var(--speed, 38s) linear infinite;
  animation-direction: var(--dir, normal);
}

.dv-marquee:hover .dv-marquee__track { animation-play-state: paused; }

.dv-marquee__track span {
  padding: 16px 26px;
  border: 1px solid var(--dv-line);
  border-radius: 999px;
  background: var(--dv-card);
  color: #e8e8ed;
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.dv-marquee__track span em {
  color: var(--dv-mute);
  font-style: normal;
  font-weight: 500;
  font-size: 0.7em;
  margin-left: 8px;
}

@keyframes dv-marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* ---------- Principles ---------- */
.dv-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.dv-principle {
  padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid var(--dv-line);
  border-radius: 28px;
  background: linear-gradient(170deg, #141416, #0b0b0d);
}

.dv-principle span {
  color: var(--dv-orange);
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.dv-principle h3 {
  margin: 56px 0 12px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.dv-principle p {
  margin: 0;
  max-width: 30em;
  color: var(--dv-soft);
  font-size: 16.5px;
  line-height: 1.55;
}

/* ---------- Closing CTA ---------- */
.dv-cta {
  position: relative;
  padding: clamp(110px, 14vw, 180px) 0;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(50% 70% at 50% 100%, rgba(255, 107, 53, 0.35), transparent 70%),
    #000;
}

.dv-cta h2 {
  margin: 0 auto;
  max-width: 13ch;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.dv-cta p {
  margin: 24px auto 0;
  max-width: 34em;
  color: var(--dv-soft);
  font-size: 19px;
  line-height: 1.5;
}

.dv-cta .dv-actions {
  justify-content: center;
  opacity: 1;
  animation: none;
}

/* ---------- Scroll reveals ---------- */
.dev .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 900ms var(--dv-ease), transform 900ms var(--dv-ease);
}

.dev .reveal.visible { opacity: 1; transform: none; }
.dev .reveal[data-delay="1"] { transition-delay: 90ms; }
.dev .reveal[data-delay="2"] { transition-delay: 180ms; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .dv-project__grid { grid-template-columns: minmax(0, 1fr); }
  .dv-project:nth-of-type(even) .dv-project__copy { order: 0; }
  .dv-bento { grid-template-columns: repeat(2, 1fr); }
  .dv-tile--wide { grid-column: span 2; }
  .dv-creds { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .dv-hero {
    min-height: 0;
    padding: 76px 0 40px;
    justify-content: flex-start;
  }

  .dv-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }

  .dv-hero__stage {
    order: -1;
    height: min(72vw, 380px);
    min-height: 0;
    margin: 0 -22px 4px;
  }

  .dv-bot { width: min(330px, 78vw); }

  .dv-display { max-width: none; }
  .dv-stats { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .dv-local__links { display: none; }
  .dv-local__cta { margin-left: auto; }
  .dv-dash__body { grid-template-columns: 1fr; }
  .dv-dash__side { display: none; }
  .dv-kpis { grid-template-columns: repeat(2, 1fr); }
  .dv-term__body { min-height: 360px; font-size: 12px; }
  .dv-checks { grid-template-columns: 1fr; }
  .dv-bento { grid-template-columns: 1fr; }
  .dv-tile--wide { grid-column: auto; }
  .dv-tile { min-height: 0; padding: 26px; }
  .dv-principles { grid-template-columns: 1fr; }
  .dv-principle h3 { margin-top: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .dv-word,
  .dv-lede,
  .dv-actions,
  .dv-stats {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }

  .dv-bot svg,
  .dv-bot .dv-eye,
  .dv-ring,
  .dv-ball,
  .dv-marquee__track,
  .dv-caret { animation: none; }

  .dv-bar i::before { transform: none; transition: none; }
  .dev .reveal { opacity: 1; transform: none; transition: none; }
}

/* Identity: the accent phrase of a headline is set in the brand's italic serif,
   the same voice as the footer line "The art of cybersecurity." */
span.dv-grad {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.14em;
  letter-spacing: -0.012em;
  padding-right: 0.08em;
}

/* A buyer's review. One card design wherever a review appears. */
.dv-review {
  width: min(460px, 100%);
  margin: 22px auto 0;
  padding: 14px 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  text-align: left;
}
.dv-review figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.dv-review__avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2c2c2e;
  color: var(--dv-ink);
  font-size: 14px;
  font-weight: 650;
}
.dv-review__who { display: grid; line-height: 1.25; }
.dv-review__who strong { color: var(--dv-ink); font-size: 14.5px; font-weight: 650; }
.dv-review__who span { color: var(--dv-mute); font-size: 12.5px; }
.dv-review__badge { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--dv-soft); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.dv-review__badge svg { width: 13px; height: 15.5px; }
.dv-review blockquote { margin: 10px 0 0; color: #e8e8ed; font-size: 15.5px; line-height: 1.5; }
.dv-review--full { width: min(720px, 100%); padding: 20px 22px 22px; border-radius: 22px; }
.dv-review--full blockquote { margin-top: 14px; font-size: 17px; line-height: 1.55; }
@media (max-width: 480px) {
  .dv-review { margin-top: 16px; }
  .dv-review blockquote { font-size: 15px; line-height: 1.45; }
  .dv-review--full { padding: 16px 16px 18px; }
  .dv-review--full blockquote { font-size: 16px; line-height: 1.5; }
}
