/* Homepage: "The endorsements we can disclose", a slowly turning ring of announcement posts (built by the endorsements script,
   between "Without the right backing" and "The right relationship changes who comes to you"). Headings reuse the page's
   own ptn-head / ptn-title / ptn-lead styles, so type matches the sections around it at every width. Each post sits in a white
   frame with the same depth as the Lead Generation map's frame (raised bevel, recessed screen). The frame is white on a white
   section, so a fine outline and a faint shadow above draw its top edge, which otherwise vanished into the page. */
.xp{--ridge-h:clamp(46px,2rem + 4.5vw,118px);--land:#fff;--xp-pt:clamp(3rem,1.5rem + 3.5vw,5.5rem);position:relative;background:var(--land);
  padding:var(--xp-pt) 0 calc(var(--xp-pt) + var(--xp-k,.73) * var(--ridge-h))}
.xp>.xp-ridge{position:absolute;left:0;top:auto;bottom:calc(100% - 1px);width:100%;height:var(--ridge-h);overflow:visible;color:var(--land);pointer-events:none;z-index:1}
.xp .ptn-title{opacity:1;transform:none;filter:none;background:none;color:#162329;-webkit-text-fill-color:#162329}
.xp .ptn-lead{opacity:1;transform:none;color:rgba(22,35,41,.76)}
.xp-head{margin:0 auto clamp(.25rem,1vw,.75rem);padding:0 20px}
.xp-br-m{display:none}
@media (max-width:760px){.xp-br-m{display:inline}}
.xp-clip{position:relative;overflow:hidden;margin:0 auto}
.xp-stage{position:relative;height:640px;perspective:2600px;perspective-origin:50% 38%;touch-action:pan-y;cursor:grab;outline:none;
  -webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
.xp-stage.is-drag{cursor:grabbing}
/* keyboard focus: never the stage-wide ring (it showed as two lines across the page after a click plus any key, such as
   a screenshot shortcut). Someone who reaches the wheel with the Tab key gets a soft ring on the front card instead */
.xp-stage:focus,.xp-stage:focus-visible{outline:none}
.xp-stage.is-kb:focus-visible .xp-card.is-front{outline:3px solid rgba(61,97,109,.6);outline-offset:5px}
.xp-ring{position:absolute;left:50%;top:50%;width:0;height:0;transform-style:preserve-3d}
.xp-card{position:absolute;top:0;margin:0;box-sizing:border-box;padding:13px;border:0;border-radius:26px;background:linear-gradient(180deg,#fff,#eaf1ef);
  outline:1px solid transparent;
  box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 rgba(63,100,112,.32),0 0 0 1px rgba(22,35,41,.13),0 -1px 3px rgba(22,35,41,.08),0 1px 1px rgba(22,35,41,.18),0 10px 22px -16px rgba(22,35,41,.32);
  backface-visibility:hidden;-webkit-backface-visibility:hidden}
.xp-card img,.xp-card video{display:block;width:100%;height:100%;object-fit:cover;border-radius:14px;background:#000;pointer-events:none;-webkit-user-drag:none}
.xp-card::after{content:"";position:absolute;inset:13px;border-radius:14px;pointer-events:none;
  box-shadow:inset 0 3px 8px rgba(0,0,0,.75),inset 0 -1px 0 rgba(219,234,229,.14),inset 0 0 0 1px rgba(255,255,255,.05),0 -1px 0 rgba(22,35,41,.22),0 1px 0 rgba(255,255,255,.95)}
@media (max-width:760px){.xp-stage{perspective:1600px}.xp-card{padding:10px;border-radius:22px}.xp-card::after{inset:10px;border-radius:12px}.xp-card img,.xp-card video{border-radius:12px}}
.xp-card--link.is-front{cursor:pointer}
.xp-stage.is-drag .xp-card{cursor:grabbing}

/* the handwritten note beside Marc's post: a black marker arrow and "CEO of Polygon" (built and placed by the script). The
   marker face is a 9 KB subset holding only these letters; the letters are written one by one with a clip that sweeps each
   glyph, the arrow strokes draw along their length (pathLength 1, so the dash maths is the same whatever the shape) */
@font-face{font-family:"Marker Note";font-weight:700;font-style:normal;src:url(../fonts/caveat-note.0b160c2042.woff2) format("woff2");font-display:block}
.xp-note-layer{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;z-index:3}
.xp-note{position:absolute;left:0;top:0;z-index:3;width:0;height:0;pointer-events:none;color:#111;transform-origin:0 0;opacity:0;   /* opacity is set by the script, from how much of the card is inside the frame */
  --xp-at:420ms}
.xp-note__a{position:absolute;left:0;top:0;width:1px;height:1px;overflow:visible}
.xp-note__a path{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:var(--l,1px) calc(var(--l,1px) * 2);stroke-dashoffset:var(--l,1px)}   /* (1 2: past the stroke's end a gap, so an undrawn stroke leaves no round-cap dot) */
.xp-note.is-shown .xp-note__a path{stroke-dasharray:none;stroke-dashoffset:0}
.xp-note.is-writing .xp-note__s{animation:xp-draw var(--xp-at) cubic-bezier(.5,.05,.55,1) forwards}
.xp-note.is-writing .xp-note__h1{animation:xp-draw var(--xp-h1d,.13s) cubic-bezier(.2,.6,.4,1) forwards;animation-delay:var(--xp-h1)}
.xp-note.is-writing .xp-note__h2{animation:xp-draw var(--xp-h2d,.12s) cubic-bezier(.2,.6,.4,1) forwards;animation-delay:var(--xp-h2)}
@keyframes xp-draw{to{stroke-dashoffset:0}}
.xp-note__w,.xp-note__w i{font-family:"Marker Note",cursive !important}   /* the page sets its own face on every element */
.xp-note__w{position:absolute;white-space:nowrap;font:700 30px/1 "Marker Note",cursive;letter-spacing:-.01em;transform:translateY(-.78em) rotate(-2deg);transform-origin:0 100%}
.xp-note--top .xp-note__w{transform:translateY(-.78em) rotate(-1.5deg)}
.xp-note__w i{display:inline-block;font-style:normal;clip-path:inset(-45% 130% -45% -30%)}   /* each letter starts hidden; the box is generous, so an f or an l keeps its overhang */
.xp-note__w i.xp-note__sp{width:.26em}
.xp-note.is-shown .xp-note__w i{clip-path:none}
.xp-note.is-writing .xp-note__w i{animation:xp-ink .15s linear forwards}
/* the goodbye: one soft eraser stroke. The word keeps every letter written and a feathered mask is drawn back across it, from its
   end to its start, in one eased glide (520 ms); then the arrow's two head strokes lift (110 ms) and its shaft retracts from the tip
   to the tail, gently at first and then quickly (330 ms). The word box is padded so the mask also covers the letters' swashes and
   descenders (the padding is taken back with margins, so nothing moves) */
.xp-note__w{padding:.5em .4em .55em .3em;margin:-.5em 0 0 -.3em;transform-origin:.3em calc(100% - .55em)}   /* the tilt keeps its pivot where it was */
.xp-note.is-erasing .xp-note__w i{clip-path:inset(-45% -70% -45% -30%)}
.xp-note.is-erasing .xp-note__w{-webkit-mask-image:linear-gradient(90deg,#000 0,#000 82%,transparent 100%);mask-image:linear-gradient(90deg,#000 0,#000 82%,transparent 100%);
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:0 0;mask-position:0 0;-webkit-mask-size:125% 100%;mask-size:125% 100%;
  animation:xp-unword .52s cubic-bezier(.45,.05,.25,1) forwards}
.xp-note.is-erasing .xp-note__a path{stroke-dashoffset:0}
.xp-note.is-erasing .xp-note__h1,.xp-note.is-erasing .xp-note__h2{animation:xp-undraw .11s cubic-bezier(.4,0,.7,.4) .58s forwards}
.xp-note.is-erasing .xp-note__s{animation:xp-undraw .33s cubic-bezier(.55,0,.8,.3) .72s forwards}
@keyframes xp-unword{to{-webkit-mask-size:0% 100%;mask-size:0% 100%}}
@keyframes xp-undraw{to{stroke-dashoffset:var(--l,1px)}}   /* each letter's delay and duration are set by the script */
@keyframes xp-ink{to{clip-path:inset(-45% -70% -45% -30%)}}
@media (prefers-reduced-motion:reduce){.xp-note.is-writing .xp-note__a path,.xp-note.is-writing .xp-note__w i{animation:none;stroke-dashoffset:0;clip-path:inset(-45% -70% -45% -30%)}}

/* the edges: cards never fade or turn pale. They pass out of the frame (its width is set in the script) through a thin, soft
   dissolve, like light catching the edge: the section's white, eased in over 24 to 52px. Two strips rather than a mask: the same
   pixels on this white section, without redrawing the carousel every frame */
.xp-clip::before,.xp-clip::after{content:"";position:absolute;top:0;bottom:0;width:24px;z-index:2;pointer-events:none}   /* thin, as on a phone */
.xp-clip--fade::before,.xp-clip--fade::after{width:clamp(24px,2.6vw,52px)}   /* the earlier 'fade' version (?edge=fade) */
.xp-clip::before{left:0;background:linear-gradient(90deg,var(--land) 0%,rgba(255,255,255,.86) 18%,rgba(255,255,255,.55) 42%,rgba(255,255,255,.22) 68%,rgba(255,255,255,.06) 88%,rgba(255,255,255,0) 100%)}
.xp-clip::after{right:0;background:linear-gradient(270deg,var(--land) 0%,rgba(255,255,255,.86) 18%,rgba(255,255,255,.55) 42%,rgba(255,255,255,.22) 68%,rgba(255,255,255,.06) 88%,rgba(255,255,255,0) 100%)}
/* desktop: the cards are drawn by the WebGL layer (the script); the HTML cards stay in place, see-through, for clicks, focus and
   screen readers. The canvas sits under the soft edges */
.xp-gl{position:absolute;left:0;top:0;z-index:0;pointer-events:none}
.xp-stage.is-gl{z-index:1}   /* the see-through HTML cards over the picture: the keyboard focus ring shows on top */
.xp-stage.is-gl .xp-card{background:none;box-shadow:none}
.xp-stage.is-gl .xp-card>img,.xp-stage.is-gl .xp-card>video{opacity:0}
.xp-stage.is-gl .xp-card::after{display:none}
/* the narrowest phones (320px): the first line of the subline is 4px wider than the column, so this one paragraph borrows a few
   pixels of the page's side margin and keeps its three-line step instead of breaking into four */
@media (max-width:339px){.ptn-lead.xp-lead{margin-left:-6px;margin-right:-6px;max-width:none}}
