/* Built by tools/build_motion.py from preview/motion.css. Do not edit here. */
/* ==========================================================================
   Deliver Better — motion and graphics layer
   --------------------------------------------------------------------------
   The brief was "it's too plain, and I'm selling websites". So the site has to
   demonstrate craft, not just claim it.

   The discipline that keeps this from becoming a showreel: every moving thing
   has to carry a point the copy is already making. The tangle resolving into
   one line IS "complexity in, clarity out". The route threading the page IS
   the brand device. The numbers draw their own curve because the whole
   proposition is measurable results. Nothing here moves for the sake of it.

   Every effect below is switched off wholesale under prefers-reduced-motion,
   and the page is designed to be complete without any of it.
   ========================================================================== */

/* ------------------------------------------------------------- reveals --- */
/* The baseline. Everything that enters the viewport rises slightly and fades.
   Elements start VISIBLE and are only hidden once JS confirms it can animate
   them — so with JS off, or if the observer never fires, nothing is lost. */

.js-motion [data-reveal]{
  opacity:0;
  transform:translate3d(0, 18px, 0);
  transition:opacity .62s cubic-bezier(.22,.61,.36,1),
             transform .62s cubic-bezier(.22,.61,.36,1);
  will-change:opacity, transform;
}
.js-motion [data-reveal].is-in{opacity:1; transform:none; will-change:auto;}

/* Stagger within a group, so a row of cards arrives as a sequence rather than
   a block. 70ms is the sweet spot — enough to read as deliberate, short
   enough that the last card is not still arriving when the eye gets there. */
.js-motion [data-reveal][data-i="1"]{transition-delay:.07s}
.js-motion [data-reveal][data-i="2"]{transition-delay:.14s}
.js-motion [data-reveal][data-i="3"]{transition-delay:.21s}
.js-motion [data-reveal][data-i="4"]{transition-delay:.28s}
.js-motion [data-reveal][data-i="5"]{transition-delay:.35s}

/* ---------------------------------------------------------------- hero --- */

.db-hero{min-height:min(88vh, 820px);}
.db-hero__media{position:absolute; inset:-8% 0 -8% 0; z-index:0; overflow:hidden;}
.db-hero__media img, .db-hero__media video{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  will-change:transform;}

/* ----------------------------------------------------------- pictures ---- */
/* Every interior page opens on its own image now. The short page top gets
   real height so the picture is a picture rather than a strip, and the same
   parallax as the homepage so scrolling through the site feels continuous. */

/* A page top with no picture behind it has nothing to be tall FOR. The 88vh on
   .db-hero applied to it regardless, and with the content bottom-aligned that
   put 750px of empty black above the heading on /privacy and /cookies. */
.db-hero--short:not(.db-hero--lit){min-height:auto; align-items:center;}
.db-hero--short:not(.db-hero--lit) .db-wrap{padding-block:116px 54px;}
.db-hero--short.db-hero--lit{min-height:min(62vh, 580px);}
.db-hero--short.db-hero--lit .db-wrap{padding-block:104px 62px;}
/* The scrim is asymmetric on purpose: heavy on the left where the headline
   sits, almost absent on the right where the picture has to be visible. Two
   even gradients stacked, as the first version had, multiply out to a nearly
   black frame and waste the image entirely. */
.db-hero--lit .db-hero__scrim{
  background:
    linear-gradient(180deg, rgba(10,14,19,.58) 0%, rgba(10,14,19,.10) 42%, rgba(10,14,19,.80) 100%),
    linear-gradient(94deg, rgba(10,14,19,.92) 0%, rgba(10,14,19,.74) 34%,
                            rgba(10,14,19,.20) 66%, rgba(10,14,19,0) 100%);}

/* A real photograph in a content slot. No border and no caption plate — those
   belonged to the stand-in, which needed labelling precisely because it was
   not a photograph. */
.shot--real{border:0; background:var(--well); overflow:hidden;
  border-radius:var(--r);}
.shot--real img{width:100%; height:100%; object-fit:cover; display:block;
  transform:scale(1.06); transition:transform 1.3s cubic-bezier(.16,.84,.34,1),
                                    opacity .8s ease;}
/* Only hide the picture when something is actually going to reveal it. Hiding
   every .shot--real img unconditionally left every card image at opacity 0 on
   any grid whose cards carry no [data-reveal] — a page of black rectangles. */
.js-motion [data-reveal] .shot--real img,
.js-motion [data-reveal].shot--real img{opacity:0;}
.js-motion [data-reveal].is-in .shot--real img,
.js-motion .is-in .shot--real img,
.js-motion .shot--real.is-in img{opacity:1; transform:scale(1);}
a:hover > .shot--real img, a:hover .shot--real img{transform:scale(1.05);}
.shot--real figcaption{display:none;}

/* A full-bleed picture band, used to break up long runs of text. The image is
   over-tall and drifts, so the band has depth rather than being a flat strip. */
.picband{position:relative; height:clamp(260px, 42vh, 460px); overflow:hidden;
  background:var(--well);}
.picband img{position:absolute; inset:-14% 0; width:100%; height:128%;
  object-fit:cover; will-change:transform;}
.picband__scrim{position:absolute; inset:0;
  background:linear-gradient(92deg, rgba(10,14,19,.90), rgba(10,14,19,.30) 62%, rgba(10,14,19,.66));}
.picband__say{position:relative; z-index:2; height:100%; display:flex;
  align-items:center;}
/* In the mockup this element also carries db-wrap, which gives it its measure.
   On WordPress the band is a full-bleed Elementor container with no wrap
   inside it, so the line needs its own — otherwise it runs edge to edge. */
.picband__say:not(.db-wrap){
  max-width:1180px; width:100%; margin-inline:auto; padding-inline:20px;}
.picband__say p{margin:0; color:#fff; font-size:clamp(20px,2.9vw,31px);
  font-weight:600; letter-spacing:-0.02em; max-width:19ch; line-height:1.24;
  text-shadow:0 2px 20px rgba(6,9,12,.6);}
.picband__say em{font-style:normal; color:var(--blue);}

.hero-eyebrow{display:inline-flex; align-items:center; gap:10px;}
.hero-eyebrow .dot{width:7px; height:7px; border-radius:50%; background:var(--blue);
  box-shadow:0 0 0 0 rgba(0,159,239,.65); animation:pulse 2.6s infinite;}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(0,159,239,.6)}
  70%{box-shadow:0 0 0 10px rgba(0,159,239,0)}
  100%{box-shadow:0 0 0 0 rgba(0,159,239,0)}
}

/* The headline arrives a line at a time. Masked overflow so each line rises
   from behind the one above rather than fading in place. */
.hero-line{display:block; overflow:hidden;}
.hero-line > span{display:block; transform:translate3d(0,102%,0);
  transition:transform .82s cubic-bezier(.16,.84,.34,1);}
.js-motion .is-in .hero-line > span,
.js-motion .hero-line.is-in > span{transform:none;}
.hero-line:nth-child(2) > span{transition-delay:.09s}
.hero-line:nth-child(3) > span{transition-delay:.18s}

.hero-scroll{position:absolute; left:50%; bottom:26px; transform:translateX(-50%);
  z-index:4; display:flex; flex-direction:column; align-items:center; gap:7px;
  color:rgba(255,255,255,.62); font-size:11px; letter-spacing:.18em;
  text-transform:uppercase; font-weight:600;}
.hero-scroll i{display:block; width:1px; height:34px;
  background:linear-gradient(180deg, rgba(255,255,255,.55), transparent);
  animation:drip 2.4s ease-in-out infinite;}
@keyframes drip{0%{transform:scaleY(.2);transform-origin:top}
  50%{transform:scaleY(1);transform-origin:top}
  50.1%{transform:scaleY(1);transform-origin:bottom}
  100%{transform:scaleY(.2);transform-origin:bottom}}

/* ------------------------------------------------------- the route spine - */
/* A thin binary line that threads between sections and draws itself as you
   pass. It is the brand device doing structural work instead of only ever
   appearing inside a photograph. */

.route-link{position:relative; height:92px; display:grid; place-items:center;
  background:var(--ground);}
.route-link.on-alt{background:var(--band-alt);}
.route-link svg{height:92px; width:40px; overflow:visible;}
.route-link .trace{stroke:var(--blue); stroke-width:1.5; fill:none; opacity:.55;
  stroke-dasharray:var(--len); stroke-dashoffset:var(--len);
  transition:stroke-dashoffset 1.1s cubic-bezier(.4,0,.2,1);}
.route-link.is-in .trace{stroke-dashoffset:0;}
.route-link text{font-size:9px; font-family:"Poppins",sans-serif; fill:var(--blue);
  opacity:0; transition:opacity .5s ease;}
.route-link.is-in text{opacity:.75;}

/* -------------------------------------------------------- proof figures -- */

.proof-fig{display:flex; flex-direction:column; gap:10px;}
.proof-fig__n{font-size:clamp(30px,4.2vw,44px); font-weight:800; line-height:1;
  color:#fff; letter-spacing:-0.03em; font-variant-numeric:tabular-nums;}
.proof-fig__n em{font-style:normal; color:var(--blue);}
.proof-fig__l{font-size:13.5px; color:#9AA3AF; max-width:26ch; line-height:1.45;}
.proof-fig svg{display:block; width:100%; height:46px; overflow:visible;}
.proof-fig .plot{fill:none; stroke:var(--blue); stroke-width:2;
  stroke-linecap:round; stroke-linejoin:round;
  stroke-dasharray:var(--len); stroke-dashoffset:var(--len);
  transition:stroke-dashoffset 1.5s cubic-bezier(.33,.9,.4,1) .2s;}
.proof-fig.is-in .plot{stroke-dashoffset:0;}
.proof-fig .fillunder{fill:url(#proofgrad); opacity:0;
  transition:opacity .9s ease .8s;}
.proof-fig.is-in .fillunder{opacity:1;}
.proof-fig .endcap{fill:var(--blue); opacity:0; transform:scale(0);
  transform-origin:center; transition:opacity .4s ease 1.3s, transform .4s cubic-bezier(.2,1.5,.4,1) 1.3s;}
.proof-fig.is-in .endcap{opacity:1; transform:scale(1);}
.proof-fig .axis{stroke:rgba(255,255,255,.16); stroke-width:1;}
.proof-fig .tick{font-size:10px; fill:#79828F; font-family:"Poppins",sans-serif;}

/* The 44 checks tile grid. Not a chart — a count, shown as a count. */
.tilegrid{display:grid; grid-template-columns:repeat(11,1fr); gap:3px; max-width:190px;}
.tilegrid i{aspect-ratio:1; border-radius:2px; background:rgba(255,255,255,.14);
  transform:scale(.4); opacity:0; transition:transform .4s cubic-bezier(.2,1.4,.4,1), opacity .4s, background .4s;}
.is-in .tilegrid i{transform:scale(1); opacity:1; background:var(--blue);}

/* ------------------------------------------------ complexity → clarity --- */
/* The centrepiece. Six tangled threads resolve into one clean route as the
   section scrolls. It is the brand promise, drawn.

   Caption sits ABOVE the artwork rather than beside it. The first attempt put
   them left and right, which meant the strands ran straight through the words
   and both captions were half-visible at the midpoint — unreadable. Stacking
   fixes legibility and works unchanged on a phone. */

.resolve{position:relative; min-height:210vh; background:var(--ground);}
.resolve__sticky{position:sticky; top:0; height:100vh; display:grid;
  place-items:center; overflow:hidden;}
.resolve__stage{width:min(1020px, 92vw); display:flex; flex-direction:column;
  align-items:center; gap:34px;}

/* Two captions occupying the same space, cross-faded. The ramps are steep and
   barely overlap, so you read one message or the other, never a blur of both. */
.resolve__caps{position:relative; width:min(46ch, 92%); min-height:208px; text-align:center;}
.resolve__cap{position:absolute; inset:0;}
.resolve__cap h3{font-size:clamp(23px,3.2vw,34px); font-weight:700;
  letter-spacing:-0.022em; margin:8px 0 10px;}
.resolve__cap p{font-size:16.5px; color:var(--text-soft); margin:0 auto; max-width:42ch;}
/* The ramps overlap slightly. An earlier pair had a gap in the middle where
   the first caption had gone and the second had barely arrived, so the
   midpoint read as a grey, half-finished slide. */
.resolve__cap--l{opacity:clamp(0, calc(1.15 - var(--p, 0) * 3), 1);}
.resolve__cap--r{opacity:clamp(0, calc((var(--p, 0) - 0.3) * 3.4), 1);}

/* The artwork frame and the SVG viewBox are the same shape (400x140 = 16/5.6),
   so nothing is stretched. The earlier version squeezed a 100x40 box across a
   much wider frame with preserveAspectRatio="none", which fattened the glyphs
   sideways and turned the route into a solid blue bar. */
.resolve__art{position:relative; width:100%; aspect-ratio:16/5.6;}
.resolve__art svg{position:absolute; inset:0; width:100%; height:100%; overflow:visible;}
/* The strand paths are generated frame by frame in motion.js, so opacity is
   set there too — a CSS clamp on --p would fight the per-strand stagger. */
.resolve .tangle path{fill:none; stroke-width:1.6; stroke-linecap:round;
  stroke-linejoin:round;}
.resolve .clean{opacity:clamp(0, calc((var(--p, 0) - 0.28) * 1.7), 1);}
/* A hairline to carry the eye, with the route itself written along it in 0s
   and 1s. A plain stroke threw away the one mark that is recognisably Deliver
   Better's; heavy digits threw away the restraint. Thin line, sparse tracking,
   glow on the marks only — not on the whole layer. */
.resolve .clean .cleanline{fill:none; stroke:var(--blue); stroke-width:1; opacity:.3;}
.resolve .clean .cleanbits{fill:var(--blue); font-family:"Poppins",sans-serif;
  font-weight:500; filter:drop-shadow(0 0 5px rgba(0,159,239,.45));}
.resolve .clean .cleandot{fill:var(--blue);
  filter:drop-shadow(0 0 8px rgba(0,159,239,.75));}

/* A scrub rail under the artwork. It fills with the same progress value, which
   tells you the section is responding to your scroll rather than stalling, and
   it names the two ends of the idea so the graphic is not doing it alone. */
/* The labels are siblings of the rule, not children of it. As children their
   effective background was --line rather than the page, which cost the
   right-hand label about a point of contrast for no reason. */
.resolve__scrub{position:relative; width:100%; margin-top:30px;}
.resolve__rail{position:relative; width:100%; height:1px; background:var(--line);}
.resolve__railfill{position:absolute; inset:0 auto 0 0; background:var(--blue);
  width:calc(var(--p, 0) * 100%); box-shadow:0 0 8px rgba(0,159,239,.6);}
.resolve__railend{position:absolute; top:12px; left:0; font-size:12px;
  font-weight:600; letter-spacing:.08em; text-transform:uppercase;
  color:var(--text-soft); opacity:clamp(0, calc(1 - var(--p, 0) * 1.6), 1);}
.resolve__railend--r{left:auto; right:0; color:var(--blue-deep);
  opacity:clamp(0, calc((var(--p, 0) - 0.45) * 2.4), 1);}

@media (max-width:820px){
  .resolve{min-height:auto;}
  .resolve__sticky{position:static; height:auto; padding-block:44px;}
  .resolve__caps{min-height:0; margin-bottom:8px;}
  .resolve__cap{position:static; opacity:1!important;}
  .resolve__cap--r{margin-top:26px; padding-top:22px; border-top:1px solid var(--line);}
  .resolve__art{aspect-ratio:16/7;}
  .resolve .tangle path{opacity:.3!important;}
  .resolve .clean{opacity:1!important;}
  .resolve__scrub{margin-top:24px; margin-bottom:26px;}
  .resolve__railfill{width:100%;}
  .resolve__railend{opacity:1!important;}
}

/* -------------------------------------------------------------- cards ---- */
/* Capability cards. The image reveals and the route inside it brightens on
   hover, so the interaction shows the device rather than just lifting a box. */

/* Five cards, not four or six. A plain auto-fit grid left the fifth stranded
   on its own row looking like a mistake, so the layout is deliberate: three
   across, then two wide ones. The wide pair turn horizontal, which gives the
   extra width a job instead of just stretching the same card. */
.cap-grid{display:grid; grid-template-columns:repeat(6, 1fr); gap:22px;}
.cap-card{grid-column:span 2;}
.cap-card{position:relative; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r); overflow:hidden; display:flex; flex-direction:column;
  transition:transform .42s cubic-bezier(.2,.8,.3,1), box-shadow .42s ease, border-color .3s;}
.cap-card:hover{transform:translateY(-5px); border-color:var(--blue);
  box-shadow:0 18px 44px rgba(23,27,32,.16);}
.cap-card__img{position:relative; aspect-ratio:5/4; overflow:hidden; background:var(--well);}
.cap-card__img img{width:100%; height:100%; object-fit:cover; display:block;
  transition:transform 1.1s cubic-bezier(.2,.8,.3,1);}
.cap-card:hover .cap-card__img img{transform:scale(1.06);}
.cap-card__img::after{content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 45%, rgba(14,18,22,.72));}
.cap-card__tag{position:absolute; left:16px; bottom:14px; z-index:2; color:#fff;
  font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; font-weight:600;}
.cap-card__body{padding:20px 22px 22px; display:flex; flex-direction:column; gap:9px; flex:1;}
.cap-card h3{font-size:21px; font-weight:700; letter-spacing:-0.02em;}
.cap-card p{font-size:15.5px; color:var(--text-soft); margin:0;}
.cap-card .more{margin-top:auto; padding-top:12px; color:var(--blue-deep);
  font-weight:600; font-size:15px; display:inline-flex; align-items:center; gap:7px;}
.cap-card .more svg{transition:transform .32s cubic-bezier(.2,.8,.3,1);}
.cap-card:hover .more svg{transform:translateX(5px);}

.cap-card--wide{grid-column:span 3; flex-direction:row;}
.cap-card--wide .cap-card__img{aspect-ratio:auto; flex:0 0 42%;}
.cap-card--wide .cap-card__body{padding:24px 26px 24px 24px; justify-content:center;}
.cap-card--wide h3{font-size:23px;}

/* Two across once three no longer fit. Five is odd, so the last card would be
   orphaned again — :last-child:nth-child(odd) catches that for any odd count
   and lets the straggler run full width as a horizontal card instead. */
@media (max-width:1080px){
  .cap-grid{grid-template-columns:repeat(4, 1fr);}
  .cap-card, .cap-card--wide{grid-column:span 2;}
  .cap-card--wide{flex-direction:column;}
  .cap-card--wide .cap-card__img{aspect-ratio:5/4; flex:none;}
  .cap-card--wide .cap-card__body{padding:20px 22px 22px;}
  .cap-grid > :last-child:nth-child(odd){grid-column:span 4; flex-direction:row;}
  .cap-grid > :last-child:nth-child(odd) .cap-card__img{aspect-ratio:auto; flex:0 0 38%;}
  .cap-grid > :last-child:nth-child(odd) .cap-card__body{padding:24px 26px; justify-content:center;}
}
/* One column. The orphan rule above has to be undone at matching specificity —
   a bare .cap-card{grid-column:span 1} loses to .cap-grid > :last-child:...,
   so the last card kept spanning 4 and grid created three implicit columns. */
@media (max-width:660px){
  .cap-grid{grid-template-columns:1fr; gap:18px;}
  .cap-card, .cap-card--wide{grid-column:span 1;}
  .cap-grid > :last-child:nth-child(odd){grid-column:span 1; flex-direction:column;}
  .cap-grid > :last-child:nth-child(odd) .cap-card__img{aspect-ratio:5/4; flex:none;}
  .cap-grid > :last-child:nth-child(odd) .cap-card__body{padding:20px 22px 22px;}
}


/* ------------------------------------------------------------- stages ---- */
/* How we work. The route runs through four gates and draws as you arrive. */

.stages{position:relative; padding-top:14px;}
.stages__track{position:relative; height:58px; margin-bottom:10px;}
.stages__rail{position:absolute; left:0; right:0; top:50%; height:2px;
  margin-top:-1px; background:var(--line);}
.stages__live{position:absolute; left:0; top:50%; height:2px; margin-top:-1px;
  width:0; background:var(--blue); box-shadow:0 0 9px rgba(0,159,239,.55);
  transition:width 2s cubic-bezier(.4,0,.25,1);}
.stages.is-in .stages__live{width:100%;}
/* Same grid template as the stages below, so every gate sits over its stage. */
.stages__gates{position:absolute; inset:0; display:grid;
  grid-template-columns:repeat(auto-fit,minmax(215px,1fr)); gap:22px;}
.stages__gates .gate{position:relative; align-self:center; justify-self:start;
  width:6px; height:30px; border-radius:2px; background:var(--well);
  box-shadow:0 0 0 4px var(--ground);}
.stages__gates .gate::after{content:""; position:absolute; left:1.5px; right:1.5px;
  top:3px; bottom:3px; border-radius:1px; background:var(--blue);
  transform:scaleY(0); transform-origin:center; opacity:0;
  transition:transform .42s cubic-bezier(.2,1.4,.4,1) var(--d),
             opacity .3s ease var(--d);}
.stages.is-in .stages__gates .gate::after{transform:scaleY(1); opacity:1;}
.stagegrid{display:grid; grid-template-columns:repeat(auto-fit,minmax(215px,1fr)); gap:22px;}
.stage__n{font-size:12.5px; font-weight:700; letter-spacing:.16em; color:var(--blue-deep);}
.stage h3{font-size:19px; font-weight:700; margin:7px 0 6px;}
.stage p{font-size:15px; color:var(--text-soft); margin:0 0 7px;}
.stage q{font-size:14.5px; color:var(--text-faint); font-style:italic; quotes:'"' '"';}

/* ---------------------------------------------------------- work cards --- */

.work{display:grid; grid-template-columns:repeat(auto-fit,minmax(310px,1fr)); gap:20px;}
.work-card{position:relative; border-radius:var(--r); overflow:hidden;
  background:var(--well); color:#fff; min-height:396px; display:flex;
  flex-direction:column; justify-content:flex-end;
  transition:transform .45s cubic-bezier(.2,.8,.3,1);}
.work-card:hover{transform:translateY(-5px);}
.work-card__bg{position:absolute; inset:-6% 0; z-index:0; overflow:hidden;}
.work-card__bg img{width:100%; height:100%; object-fit:cover; display:block;
  transition:transform 1.2s cubic-bezier(.2,.8,.3,1); will-change:transform;}
.work-card:hover .work-card__bg img{transform:scale(1.05);}
.work-card::after{content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(10,14,18,.24) 0%, rgba(10,14,18,.58) 46%, rgba(10,14,18,.94) 100%);}
.work-card__body{position:relative; z-index:2; padding:24px;}
.work-card__tag{font-size:11px; letter-spacing:.14em; text-transform:uppercase;
  font-weight:600; color:var(--blue);}
.work-card h3{font-size:22px; font-weight:700; color:#fff; margin:9px 0 10px; letter-spacing:-0.02em;}
.work-card p{font-size:15px; color:#B4BCC7; margin:0 0 14px;}
.work-card__stat{display:flex; align-items:flex-end; gap:12px; margin-bottom:12px;}
.work-card__stat b{font-size:27px; font-weight:800; color:#fff; letter-spacing:-0.03em;
  font-variant-numeric:tabular-nums; line-height:1;}
.work-card__stat svg{flex:1; height:36px; overflow:visible;}
.work-card__stat .plot{fill:none; stroke:var(--blue); stroke-width:2;
  stroke-linecap:round; stroke-dasharray:var(--len); stroke-dashoffset:var(--len);
  transition:stroke-dashoffset 1.4s cubic-bezier(.33,.9,.4,1);}
.work-card.is-in .plot{stroke-dashoffset:0;}

/* --------------------------------------------------------- jargon demo --- */

.jargon-demo{background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r); padding:0; overflow:hidden; box-shadow:var(--shadow);}
.jargon-demo__bar{display:flex; gap:7px; padding:12px 16px;
  border-bottom:1px solid var(--line); background:var(--surface-2); align-items:center;}
.jargon-demo__bar i{width:9px; height:9px; border-radius:50%; background:var(--line);}
.jargon-demo__bar span{margin-left:8px; font-size:12px; color:var(--text-faint); font-weight:500;}
.jargon-demo__io{padding:22px 24px;}
.jargon-demo__lab{font-size:11px; letter-spacing:.14em; text-transform:uppercase;
  font-weight:600; color:var(--text-faint); margin-bottom:7px;}
.jargon-demo__in{font-size:17.5px; color:var(--text-soft); min-height:3.4em; line-height:1.55;}
.jargon-demo__in .cursor{display:inline-block; width:2px; height:1.05em; background:var(--blue);
  vertical-align:-2px; animation:blink 1.05s step-end infinite;}
@keyframes blink{0%,100%{opacity:1}50%{opacity:0}}
.jargon-demo__out{margin-top:20px; padding:18px 20px; background:var(--blue-soft);
  border-radius:var(--r-sm); font-size:18px; color:#08364F; line-height:1.55;
  opacity:0; transform:translateY(9px);
  transition:opacity .55s ease, transform .55s cubic-bezier(.2,.8,.3,1);}
.jargon-demo__out.is-shown{opacity:1; transform:none;}
/* Dark is now the default, so the pale ink is the base case and the light
   theme is the exception. The panel is --blue-soft in both, which is a deep
   blue in the dark theme and a pale one in the light theme, so the text has to
   flip with it or it lands on its own colour. */
.jargon-demo__out{color:#CFEAFA;}
:root[data-theme="light"] .jargon-demo__out{color:#08364F;}

/* ----------------------------------------------------------- parallax ---- */

[data-parallax]{will-change:transform;}

/* ---------------------------------------------------------------- CTA ---- */

.cta-converge{position:relative; overflow:hidden;}
/* The artwork lives in the right of the band and fades out before it reaches
   the copy column, so nothing ever crosses a line of text. The mask does the
   work that a hard clip would do badly. */
/* An SVG with a viewBox is a replaced element: `width:auto` resolves from its
   intrinsic ratio, not from the left/right pair, so anchoring it with
   left+right silently produced a box wider than the section and pushed the
   document sideways on a phone. It gets an explicit width instead. */
.cta-converge .cta-art{position:absolute; top:0; bottom:0; left:auto; right:0;
  width:46%; height:100%; z-index:0; opacity:.55;
  -webkit-mask-image:linear-gradient(90deg, transparent 0%, #000 26%, #000 100%);
          mask-image:linear-gradient(90deg, transparent 0%, #000 26%, #000 100%);}
.cta-converge .strand{fill:none; stroke:var(--blue); stroke-width:1.4; stroke-linecap:round;
  stroke-dasharray:var(--len); stroke-dashoffset:var(--len);
  transition:stroke-dashoffset 1.8s cubic-bezier(.4,0,.2,1);}
.cta-converge.is-in .strand{stroke-dashoffset:0;}
.cta-converge .db-wrap{position:relative; z-index:2;}
.cta-converge .strand-dot{fill:var(--blue); opacity:0;
  filter:drop-shadow(0 0 9px rgba(0,159,239,.8)); transition:opacity .5s ease 1.1s;}
.cta-converge.is-in .strand-dot{opacity:1;}
@media (max-width:900px){ .cta-converge .cta-art{opacity:.32; width:58%;} }

/* ============================================================ REDUCED ====
   One switch. Everything above resolves to its finished state and stops.
   Not a courtesy: looping background motion and scroll-jacking are a genuine
   accessibility problem, and this site's own copy argues for matching the
   process to the risk. */

@media (prefers-reduced-motion: reduce){
  .js-motion [data-reveal],
  .js-motion [data-reveal].is-in{opacity:1!important; transform:none!important; transition:none!important;}
  .hero-line > span{transform:none!important; transition:none!important;}
  .route-link .trace, .proof-fig .plot, .stages__track .live,
  .cta-converge .strand, .work-card__stat .plot{stroke-dashoffset:0!important; transition:none!important;}
  .proof-fig .fillunder, .proof-fig .endcap, .stages__track .gatefill,
  .route-link text{opacity:1!important; transform:none!important; transition:none!important;}
  .tilegrid i{opacity:1!important; transform:none!important; background:var(--blue)!important;}
  .resolve{min-height:auto!important;}
  .resolve__sticky{position:static!important; height:auto!important; padding-block:40px;}
  .resolve__caps{min-height:0!important;}
  .resolve__cap{position:static!important; opacity:1!important; margin-bottom:18px;}
  .resolve .tangle path{opacity:.25!important;}
  .resolve .clean{opacity:1!important;}
  .resolve__scrub{margin-top:24px; margin-bottom:26px;}
  .resolve__railfill{width:100%!important;}
  .resolve__railend{opacity:1!important;}
  .hero-eyebrow .dot, .hero-scroll i, .jargon-demo__in .cursor{animation:none!important;}
  [data-parallax]{transform:none!important;}
  .db-hero__media{inset:0!important;}
  .cap-card:hover, .work-card:hover{transform:none;}
  .cap-card:hover .cap-card__img img, .work-card:hover .work-card__bg img{transform:none;}
  *{scroll-behavior:auto!important;}
}

/* ======================================================================
   Site-wide cards and grids
   ----------------------------------------------------------------------
   The archives were flat grids of identical cards with no reading order and
   no picture that carried any weight. These give each grid a shape.
   ====================================================================== */

/* Case study tiles. The result is the headline, so it leads the link line. */
.work-tile{padding:0; overflow:hidden;}
.work-tile .shot{margin:0; border-radius:0;}
.work-tile > :not(.shot){padding-inline:22px;}
.work-tile > .db-cap__tag{display:block; padding-top:18px;}
.work-tile > h3{margin:6px 0 8px;}
.work-tile > .db-more{padding-bottom:22px; display:flex; align-items:center; gap:9px;}
.work-tile .db-more b{font-size:20px; font-weight:800; letter-spacing:-0.02em;
  color:var(--blue-deep); line-height:1;}
.work-tile .db-more svg{margin-left:auto; transition:transform .32s cubic-bezier(.2,.8,.3,1);}
.work-tile:hover .db-more svg{transform:translateX(5px);}

/* Insights: one lead running the full width, the rest in a three-up below. */
.insight-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:20px;}
.insight-grid > *{grid-column:span 1;}
.db-card--lead{grid-column:span 3; flex-direction:row; align-items:stretch;}
.db-card--lead .shot{flex:0 0 52%; aspect-ratio:auto!important; margin:0; border-radius:0;}
.db-card--lead .db-card__body{justify-content:center; padding:34px 38px;}
.db-card--lead h3{font-size:clamp(23px,2.7vw,31px); font-weight:700;
  letter-spacing:-0.022em; line-height:1.16;}
.db-card--lead p{font-size:17px;}
.db-card--lead::before{content:"Latest"; position:absolute; z-index:3; left:18px; top:18px;
  background:var(--blue); color:#fff; font-size:10.5px; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase; padding:5px 11px;
  border-radius:var(--r-pill);}
.db-card--insight{position:relative;}
@media (max-width:980px){
  .insight-grid{grid-template-columns:repeat(2, 1fr);}
  .db-card--lead{grid-column:span 2; flex-direction:column;}
  .db-card--lead .shot{flex:none; aspect-ratio:16/9!important;}
  .db-card--lead .db-card__body{padding:22px 24px 24px;}
}
@media (max-width:640px){
  .insight-grid{grid-template-columns:1fr;}
  .db-card--lead{grid-column:span 1;}
}

/* The picture band's line arrives a beat after the band does. */
.js-motion .picband__say p{opacity:0; transform:translate3d(0,14px,0);
  transition:opacity .7s ease .18s, transform .7s cubic-bezier(.16,.84,.34,1) .18s;}
.js-motion .picband.is-in .picband__say p{opacity:1; transform:none;}

@media (prefers-reduced-motion:reduce){
  .picband img{transform:none!important;}
  .js-motion .picband__say p{opacity:1!important; transform:none!important;}
  .shot--real img{transform:none!important; opacity:1!important;}
}

/* ======================================================================
   Editorial text layout
   ----------------------------------------------------------------------
   Every prose section was a 64ch column centred in a 1180px page, which left
   the right-hand half of the screen empty on every interior page. The heading
   now holds the left column and sticks while the body scrolls past it.
   ====================================================================== */

.db-col{display:grid; grid-template-columns:minmax(0,0.82fr) minmax(0,1.18fr);
  gap:34px 56px; align-items:start;}
.db-col--wide{grid-template-columns:minmax(0,1fr);}
/* A section with no heading is usually the opening. Let it run wider than
   the two-column measure so it does not sit in the left half of an empty
   screen. */
.db-col--wide .db-prose p{max-width:74ch;}
.db-col__head{position:sticky; top:104px;}
.db-col__head .db-sec{margin-top:8px;}
.db-col__head .db-lede{margin-bottom:0; font-size:17px;}
.db-col .db-prose{max-width:none;}
.db-col .db-prose p{max-width:60ch;}
/* The first paragraph of a section carries a little more weight, the way a
   standfirst does in print. */
.db-col .db-prose > p:first-child{font-size:19px; color:var(--text);}

@media (max-width:900px){
  .db-col{grid-template-columns:1fr; gap:14px;}
  .db-col__head{position:static;}
}

/* Numbered signal lines. */
.db-signals{display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:0 44px;}
/* A fixed number column, not `auto`: each signal is its own grid, so an
   auto column is measured per item and the text edges fail to line up
   across the row. */
.db-signal{display:grid; grid-template-columns:28px 1fr; gap:14px;
  align-items:baseline; border-top:1px solid var(--line); padding:16px 0; margin:0;
  font-size:17px; color:var(--text-soft); max-width:none;}
.db-signal i{font-style:normal; font-size:12.5px; font-weight:700;
  letter-spacing:.1em; color:var(--blue-deep); font-variant-numeric:tabular-nums;}

@media (prefers-reduced-motion:reduce){
  .db-col__head{position:static!important;}
}

/* The honest lesson. It is the most quoted thing on a case study, so it gets a
   band of its own rather than a small italic line at the bottom of a section. */
.lessonband{padding-block:58px;}
.lessonband__q{margin:14px 0 0; padding:0 0 0 22px; border-left:3px solid var(--blue);
  font-size:clamp(21px,2.7vw,30px); font-weight:500; line-height:1.34; color:#fff;
  letter-spacing:-0.018em; max-width:30ch;}

/* Key numbers count up like the homepage figures do. */
.db-keynum__n{font-variant-numeric:tabular-nums;}

/* ----------------------------------------------------------- delta bars --- */
/* Two bars to the same scale: where it started, where it ended. The value is
   labelled on the mark, so there is no legend and nothing to cross-reference.
   The "was" bar is recessive; the "now" bar carries the one hue. */
.deltabar{display:block; width:100%; height:auto; max-width:230px; overflow:visible;}
.deltabar .db-was{fill:rgba(255,255,255,.22);}
.deltabar .db-now{fill:var(--blue);}
.deltabar .db-lab{font-family:"Poppins",sans-serif; font-size:9.5px; font-weight:600;
  fill:#9AA3AF; dominant-baseline:auto;}
.deltabar .db-lab--now{fill:#fff;}
/* The bars grow from the left as the card arrives. */
.js-motion .deltabar rect{transform:scaleX(0); transform-origin:left center;
  transition:transform .9s cubic-bezier(.22,.8,.3,1);}
.js-motion .deltabar .db-now{transition-delay:.16s;}
.js-motion .is-in .deltabar rect{transform:scaleX(1);}
.js-motion .deltabar text{opacity:0; transition:opacity .5s ease .7s;}
.js-motion .is-in .deltabar text{opacity:1;}
.work-card__cap{font-size:12px; color:#79828F; letter-spacing:.01em; margin-top:7px;}

@media (prefers-reduced-motion:reduce){
  .js-motion .deltabar rect{transform:none!important;}
  .js-motion .deltabar text{opacity:1!important;}
}

/* ------------------------------------------------------- reading progress - */
/* A hairline under the navigation that fills as you read down the page. On a
   4,000px case study it is the only cheap signal of how much is left. */
.readbar{position:sticky; top:0; z-index:60; height:2px; background:transparent;
  pointer-events:none;}
.readbar span{display:block; height:100%; width:0; background:var(--blue);
  box-shadow:0 0 10px rgba(0,159,239,.65); transform-origin:left;}

/* ------------------------------------------------------------- articles --- */
/* An Insight is a piece of writing, so it gets the things writing gets: an
   opening capital, a wider measure for the lede, and quieter body colour. */
.is-article .db-prose--open > p:first-child::first-letter{
  float:left; font-size:3.15em; line-height:.82; font-weight:800;
  margin:6px 10px 0 0; color:var(--blue-deep);}
.is-article .db-prose p{font-size:18px; line-height:1.72;}
.is-article .db-pullquote{margin-block:34px;}

@media (prefers-reduced-motion:reduce){ .readbar span{transition:none;} }

/* A key number that cannot fit its column must wrap, not push the page
   sideways. Real figures are short; the draft placeholders ("[Headline
   result]") are not, and one of them was widening every case study on a phone
   by 16px. Either way a figure should never be able to break the layout. */
.db-keynum__n{overflow-wrap:anywhere;}
@media (max-width:520px){
  .db-keynums{grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); gap:14px;}
  .db-keynum__n{font-size:25px;}
}

/* The portrait beside the About page's introduction. Not sticky — a face that
   follows you down the page is unsettling. */
.shot--portrait{margin-top:22px; max-width:330px; border-radius:var(--r);}
.db-col__head:has(.shot--portrait){position:static;}

/* ------------------------------------------------------------- the mark --- */
/* Two files rather than one recoloured with a filter: the D stays brand blue on
   both grounds while the wordmark flips between white and ink, which no single
   CSS filter can do without shifting the blue too. */
.db-brand{display:inline-flex; align-items:center; line-height:0;}
.db-brand img{height:30px; width:auto; display:block;}
.db-nav.scrolled .db-brand img{height:23px;}
/* These need the `img` in the selector. `.db-brand img{display:block}` is
   specificity (0,1,1) and beat a bare `.db-brand__d{display:none}` at (0,1,0),
   so both marks rendered side by side in the navigation. */
/* The reversed mark is the default now that every ground is dark. The
   ink-on-cream version only appears if someone turns the light theme on.
   These selectors need the `img` in them: `.db-brand img{display:block}` is
   specificity (0,1,1) and beats a bare class at (0,1,0), which rendered both
   marks side by side in the navigation. */
.db-brand img.db-brand__l{display:none;}
.db-brand img.db-brand__d{display:block;}
:root[data-theme="light"] .db-brand img.db-brand__l{display:block;}
:root[data-theme="light"] .db-brand img.db-brand__d{display:none;}
/* Except when the light theme's nav docks to a dark bar. */
:root[data-theme="light"] .db-nav.scrolled .db-brand img.db-brand__l{display:none;}
:root[data-theme="light"] .db-nav.scrolled .db-brand img.db-brand__d{display:block;}
.db-foot__logo{height:30px; width:auto; display:block;}

/* --------------------------------------------------------------- byline --- */
.byline{background:var(--ground); padding-block:22px 0;}
.byline .db-wrap{display:flex; align-items:center; gap:13px;}
.byline img{width:46px; height:46px; border-radius:50%; object-fit:cover;
  display:block; box-shadow:0 0 0 1px var(--line);}
.byline b{display:block; font-size:15.5px; font-weight:600; letter-spacing:-0.01em;}
.byline span{display:block; font-size:13.5px; color:var(--text-faint);}

/* ======================================================================
   Phone
   ----------------------------------------------------------------------
   Everything below was found by opening the site at 390px rather than by
   scaling the desktop layout down.
   ====================================================================== */

@media (max-width:760px){

  /* The scroll cue sat 26px off the bottom of a hero whose buttons also ran to
     the bottom, so it landed on top of them. On a phone the affordance to
     scroll is the phone, so it goes. */
  .hero-scroll{display:none;}

  /* The hero was 1219px tall on a 844px screen: the headline, the standfirst
     and both buttons were all below the fold on first paint. Capped to the
     viewport less the navigation, so the first thing you see is the first
     thing that matters. */
  .db-hero{min-height:calc(100svh - 132px); padding-bottom:26px;}
  .db-hero--short.db-hero--lit{min-height:auto;}
  .db-hero--short.db-hero--lit .db-wrap{padding-block:62px 40px;}
  .db-hero h1{font-size:clamp(30px,8.6vw,40px); line-height:1.06;}
  .db-hero__sub{font-size:16.5px;}
  .db-hero .db-wrap{padding-block:52px 34px;}

  /* The eyebrow wrapped to two lines with the pulsing dot stranded on the
     first, which read as a bullet point rather than as part of the label. */
  .hero-eyebrow{align-items:flex-start;}
  .hero-eyebrow .dot{margin-top:7px; flex:0 0 auto;}
  .db-eyebrow{font-size:11px; letter-spacing:.14em;}

  /* Buttons go full width and stack. Two pills side by side at 350px leaves
     each of them too narrow to read. */
  .db-hero__cta{gap:10px; width:100%;}
  .db-hero__cta .db-btn{flex:1 1 100%; justify-content:center;}

  /* Section rhythm tightens, but not so far that the bands stop reading as
     separate. */
  .db-band{padding-block:44px;}
  .picband{height:clamp(200px,34vh,300px);}
  .picband__say p{font-size:clamp(19px,5.6vw,24px);}
  .route-link{height:64px;}
  .route-link svg{height:64px;}

  /* Small labels that were 11px and under. 12px is the floor for anything
     tracked-out and uppercase, which is most of the labels on this site. */
  .work-card__tag, .db-cap__tag, .shot figcaption b, .cap-card__tag{font-size:12px;}
}

/* ------------------------------------------------------- mobile menu ------ */
/* Below 1040px the navigation pill is hidden, and until now nothing replaced
   it: the site had a logo, one button and no way to reach any other page.
   That was true of the WordPress build too, and the note that used to sit here
   — "on the WordPress build this is the Elementor mobile menu" — was a
   description of a plan rather than of anything that existed. `.db-navpill` is
   the Elementor nav widget's own wrapper, so hiding it below 1040px hid
   Elementor's burger along with the links, and a phone got a logo and a button.
   The markup and the behaviour are now built by the WordPress adapter in
   motion.js, from the menu already in the page. */

.db-burger{display:none; width:44px; height:44px; padding:11px 10px; margin-left:auto;
  background:transparent; border:0; cursor:pointer; flex-direction:column;
  justify-content:space-between; border-radius:10px;}
.db-burger:hover{background:rgba(255,255,255,.08);}
.db-burger span{display:block; height:2px; width:100%; border-radius:2px;
  background:var(--text); transition:transform .3s cubic-bezier(.2,.8,.3,1), opacity .2s;}
.db-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(9px) rotate(45deg);}
.db-burger[aria-expanded="true"] span:nth-child(2){opacity:0;}
.db-burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-9px) rotate(-45deg);}

/* --ground, not --well.

   --well and --band-deep are the tokens that stay dark in BOTH themes: they
   paint the hero, the proof strip, the closing call to action and the footer,
   which are inverted bands by design. Every other rule that uses them also
   sets an explicit light text colour, for exactly that reason.

   This one used var(--well) for the background and var(--text) for the links.
   In dark mode both are dark-on-light and it looks right. In light mode --text
   flips to #171B20 and --well does not, so the overlay was #171B20 text on a
   #0E1216 background — 1.05:1, an unreadable black rectangle. Nobody saw it
   because the overlay is hidden until you open it, so the contrast audit that
   cleared all 35 routes never measured it.

   --ground is the page background and flips with the theme, which is what a
   full-screen menu wants: it should look like the site it is covering. */
.db-menu{position:fixed; inset:0; z-index:90; background:var(--ground);
  overflow-y:auto; -webkit-overflow-scrolling:touch;}
.db-menu__inner{display:flex; flex-direction:column; gap:2px;
  padding:96px 24px calc(34px + env(safe-area-inset-bottom,0px));
  max-width:var(--wrap); margin:0 auto;}
.db-menu a{font-size:23px; font-weight:600; letter-spacing:-0.02em;
  padding:15px 2px; border-bottom:1px solid var(--line); color:var(--text);}
.db-menu a[aria-current="page"]{color:var(--blue);}
.db-menu .db-menu__cta{margin-top:24px; border-bottom:0; font-size:16px;
  justify-content:center; padding:14px 22px;}
/* The page behind must not scroll while the overlay is up. */
.menu-open body, html.menu-open body{overflow:hidden;}

@media (max-width:1040px){
  .db-burger{display:flex;}
  /* The nav keeps its "Start a conversation" button down to tablet, but at
     phone width the logo, the button and the burger will not fit on one line
     without the button shrinking to an ellipsis. */
  @media (max-width:560px){ .db-nav__cta{display:none;} }
}
@media (min-width:1041px){ .db-menu{display:none!important;} }

@media (prefers-reduced-motion:reduce){
  .db-burger span{transition:none;}
}

/* Elementor supplies its own burger and its own dropdown inside the nav
   widget. Two mobile menus in one header is one too many, and Elementor's is
   the one with none of this design on it, so it is switched off wherever the
   design's own menu is present. Scoped to .db-nav so a nav widget used
   anywhere else on the site keeps its normal behaviour.

   nav.elementor-nav-menu--dropdown, not the bare class: Elementor also puts
   that class on every desktop submenu <ul>, so the bare selector hid the What
   we do dropdown for good. Edited here because preview/motion.css, the source
   this file is built from, is not in this copy of the kit; carry it across. */
.db-nav .elementor-menu-toggle,
.db-nav nav.elementor-nav-menu--dropdown{display:none!important;}

/* --------------------------------------------------- light / dark toggle -- */
/* The palette has had a complete, tested light theme since the tokens were
   written, reached by setting data-theme="light" on the root. Nothing ever set
   it. The tokens file said "light stays available through the toggle" and the
   preview's own chrome had a Light / dark button, which is furniture and gets
   stripped at build, so the shipped site had a light mode nobody could reach.
   This is that button, in the design rather than in the preview. */

.db-themer{
  width:38px; height:38px; flex:0 0 38px; display:inline-flex;
  align-items:center; justify-content:center; padding:0; cursor:pointer;
  background:rgba(255,255,255,.07); border:1px solid var(--line);
  border-radius:50%; color:var(--text);
  transition:background .2s ease, border-color .2s ease, color .2s ease;
}
.db-themer:hover{background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.28);}

/* Push the toggle and the burger together against the right edge. Without
   this the burger takes the auto margin on its own and the toggle is left
   stranded beside the logo, which reads as part of the wordmark. */
.db-nav .db-themer{margin-left:auto;}
.db-nav .db-themer + .db-burger{margin-left:6px;}
.db-themer:focus-visible{outline:2px solid var(--blue); outline-offset:2px;}
.db-themer svg{width:18px; height:18px; display:block; fill:none;
  stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round;}

/* One button, two icons, and the theme decides which is showing. The icon
   shows what you would GET, not what you are in — a sun in dark mode. A
   control labelled with the state you are already in is the single most
   common way to get this wrong. */
.db-themer .db-themer__sun{display:block;}
.db-themer .db-themer__moon{display:none;}
:root[data-theme="light"] .db-themer .db-themer__sun{display:none;}
:root[data-theme="light"] .db-themer .db-themer__moon{display:block;}

:root[data-theme="light"] .db-themer{
  background:rgba(10,20,30,.06); border-color:rgba(10,20,30,.16);
}
:root[data-theme="light"] .db-themer:hover{background:rgba(10,20,30,.11);}
:root[data-theme="light"] .db-nav.scrolled .db-themer{
  background:rgba(255,255,255,.10); border-color:rgba(255,255,255,.20); color:#E7EAF0;
}

/* In the overlay it sits on its own row with a text label, because a bare
   icon in a full-screen menu has nothing next to it to explain it. */
.db-menu .db-themer{width:auto; height:auto; flex:none; border-radius:999px;
  gap:10px; padding:12px 18px; margin-top:18px; align-self:flex-start;
  font-family:"Poppins",system-ui,sans-serif; font-size:15px; font-weight:600;}
.db-menu .db-themer::after{content:"Light mode";}
:root[data-theme="light"] .db-menu .db-themer::after{content:"Dark mode";}

@media (prefers-reduced-motion:reduce){
  .db-themer{transition:none;}
}

/* ------------------------------------------------- band edges on dark ----- */
/* The ladder has plenty of room between --ground and --band-alt (1.13:1), but
   almost none below --ground: the feature bands sit at 1.03:1 against it,
   because there is nowhere darker to go before black. Measured, that is not a
   boundary anyone would see.
   So the deep bands get a hairline instead of relying on fill alone. This is
   the normal way to separate near-black surfaces, and it costs nothing on the
   light theme, where the fills already differ enough to carry the edge on
   their own. */
.db-band--ink, .db-proof, .picband, .db-foot, .lessonband{
  border-top:1px solid rgba(255,255,255,.07);}
.db-band--alt{border-block:1px solid rgba(255,255,255,.05);}
/* Two rules meeting where an alt band sits directly on a deep one would read
   as a 2px line, which looks like a mistake rather than a join. */
.db-band--alt + .db-band--ink, .db-band--alt + .db-proof,
.db-band--ink + .db-band--alt, .picband + .db-band--alt{border-top-width:0;}

:root[data-theme="light"] .db-band--ink,
:root[data-theme="light"] .db-proof,
:root[data-theme="light"] .picband,
:root[data-theme="light"] .db-foot,
:root[data-theme="light"] .lessonband,
:root[data-theme="light"] .db-band--alt{border-color:transparent;}

/* A card that runs the full row. Used where an odd count would otherwise leave
   the last one stranded on a line of its own. */
.db-card--span{grid-column:1/-1; flex-direction:row; align-items:center; gap:26px;}
.db-card--span h3{flex:0 0 32%;}
.db-card--span p{margin:0; flex:1;}
.db-card--span .db-more{margin:0; padding:0; white-space:nowrap;}
@media (max-width:820px){
  .db-card--span{flex-direction:column; align-items:flex-start; gap:9px;}
  .db-card--span h3{flex:none;}
}

/* ------------------------------------------------------------ skip link --- */
/* First thing in the tab order, invisible until focused. Without it a keyboard
   user tabs through the whole navigation on every page before reaching the
   content. */
.db-skip{position:absolute; left:12px; top:-60px; z-index:200;
  background:var(--blue); color:#06121B; font-weight:600; font-size:15px;
  padding:11px 18px; border-radius:var(--r-pill);
  transition:top .18s cubic-bezier(.2,.8,.3,1);}
.db-skip:focus{top:12px;}
#pv-main:focus{outline:none;}

.db-foot__h{font-family:"Poppins"; font-size:12px; letter-spacing:.12em;
  text-transform:uppercase; color:#fff; font-weight:500; margin:0 0 12px;}

/* An archive card's title is an h2 because the cards are the page's top-level
   content, but it should not inherit section-heading size. */
.db-card__h{font-size:19px; font-weight:600; letter-spacing:-0.015em; margin:0;}
.work-tile .db-card__h{font-size:20px;}
.db-card--lead .db-card__h{font-size:clamp(23px,2.7vw,31px); font-weight:700;
  letter-spacing:-0.022em; line-height:1.16;}

/* ================================================================
   Mobile fixes
   ================================================================ */

/* The burger lives in .db-nav at z-index 70 and the overlay is at 90, so the
   moment the menu opened the control that closes it was painted over. On a
   phone there is no Escape key, so the menu could be opened and not closed.
   The bar is lifted above the overlay while it is open, which also lets the
   burger's cross animation actually be seen. */
html.menu-open .db-nav{z-index:95; position:relative;}
html.menu-open .db-nav .db-brand{position:relative; z-index:1;}
.db-menu__inner{padding-top:104px;}

@media (max-width:1040px){

  /* The stage rail is a horizontal device. In one column it collapsed to four
     gates stacked at x=20, sitting on top of the stage numbers and the first
     letter of each heading. It becomes a vertical spine instead: same device,
     same gates, running down the left of the stages it labels. */
  .stages__track{position:absolute; left:0; top:0; bottom:0; width:2px;
    height:auto; margin:0;}
  .stages{position:relative; padding-left:34px;}
  .stages > .db-wrap{padding-left:0;}
  .stages__rail{left:50%; right:auto; top:0; bottom:0; width:2px; height:auto;
    margin:0 0 0 -1px;}
  .stages__live{left:50%; top:0; width:2px; height:0; margin:0 0 0 -1px;
    transition:height 2s cubic-bezier(.4,0,.25,1);}
  .stages.is-in .stages__live{width:2px; height:100%;}
  .stages__gates{position:absolute; inset:0; display:flex; flex-direction:column;
    justify-content:space-around; align-items:center; gap:0;}
  .stages__gates .gate{width:26px; height:6px; align-self:center; justify-self:center;}
  .stages__gates .gate::after{left:3px; right:3px; top:1.5px; bottom:1.5px;
    transform:scaleX(0);}
  .stages.is-in .stages__gates .gate::after{transform:scaleX(1);}
  .stagegrid{gap:30px;}
}

@media (max-width:760px){
  /* 210px of nothing above the headline, because the hero was tall and its
     content bottom-aligned. The floor comes down and the content is centred
     rather than pushed to the bottom of whatever height is left over. */
  .db-hero{min-height:auto; align-items:center;}
  .db-hero .db-wrap{padding-block:40px 40px;}
  .db-hero--lit .db-wrap, .db-hero--short.db-hero--lit .db-wrap{padding-block:46px 40px;}
  .db-hero__media{inset:0;}
}


/* The strand labels. Positioned against the artwork in its own 400x140 space,
   so a label always sits at the left end of the line it names. */
.resolve__tags{position:absolute; inset:0; pointer-events:none;}
.resolve__tag{position:absolute; left:0; top:calc(var(--ty, 0) / 140 * 100%);
  transform:translateY(-50%);
  font-size:11.5px; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  color:var(--text-faint); white-space:nowrap; transition:opacity .25s linear;
  background:linear-gradient(90deg, var(--ground) 62%, transparent);
  padding:2px 16px 2px 0;}

@media (max-width:820px){
  .resolve__tag{font-size:10px; padding-right:8px;}
}
/* Without JS, or with reduced motion, the section is simply its finished
   state: one route, labels gone, no half-drawn strands. */
@media (prefers-reduced-motion:reduce){
  .resolve__tag{opacity:0!important;}
  .resolve .tangle{opacity:.22!important;}
}

/* A single real percentage, drawn to scale. Replaces the sparkline that was
   there, whose intermediate points were invented. */
.meter{display:block; width:100%; max-width:210px; height:8px; margin-top:2px;}
.meter__bg{fill:rgba(255,255,255,.12);}
.meter__fill{fill:var(--blue);}
.js-motion .meter__fill{transform:scaleX(0); transform-origin:left center;
  transition:transform 1.1s cubic-bezier(.22,.8,.3,1) .15s;}
.js-motion .is-in .meter__fill{transform:scaleX(1);}
.proof-fig__n b{font-weight:inherit; font-variant-numeric:tabular-nums;}
[data-proof][hidden]{display:none!important;}

@media (prefers-reduced-motion:reduce){
  .js-motion .meter__fill{transform:none!important;}
}

/* A "0.53% → 3.54%" figure is twice the width of "44". Without this it wrapped
   to two lines and pushed its own tile taller than the three beside it. */
.proof-fig__n--long{font-size:clamp(23px,3vw,32px); line-height:1.08;}
.proof-fig__n em{font-style:normal; color:var(--blue); padding-inline:2px;}
