/* Mad motion. The complete page remains readable before enhancement. */
@supports (overflow-x:clip){body.mad-motion-page{overflow-x:clip}}
[data-mad-motion] .motion-shift{min-width:0}
[data-mad-motion].motion-ready [data-scroll]{transform:translate3d(var(--scroll-x,0px),var(--scroll-y,0px),0) scale(var(--scroll-scale,1));transform-origin:center}
[data-mad-motion] .motion-media,[data-mad-motion] .motion-project-media{display:block;overflow:hidden;border-radius:4px;isolation:isolate}
[data-mad-motion] .motion-media img{display:block;transform-origin:center}
[data-mad-motion] .home-visual .motion-media{box-shadow:0 26px 70px #0005}
[data-mad-motion] .motion-project-media img{display:block;transition:transform .8s cubic-bezier(.22,.61,.36,1)}
[data-mad-motion] .button span[aria-hidden],[data-mad-motion] .text-link span[aria-hidden]{display:inline-block;transition:transform .25s ease}
[data-mad-motion] .button:hover span[aria-hidden],[data-mad-motion] .button:focus-visible span[aria-hidden],[data-mad-motion] .text-link:hover span[aria-hidden],[data-mad-motion] .text-link:focus-visible span[aria-hidden]{transform:translate(3px,-3px)}
[data-mad-motion] .project-card:focus-visible .motion-project-media img{transform:scale(1.07)}
@media(hover:hover) and (pointer:fine){[data-mad-motion] .project-card:hover .motion-project-media img{transform:scale(1.07)}}

/* Two lines enter from opposite sides, then hold still while being read. */
[data-mad-motion] .intent-story{padding-top:108px;padding-bottom:108px}
[data-mad-motion] .intent-story .section-head{max-width:none;margin-bottom:54px}
[data-mad-motion] .intent-story h2{font-size:clamp(36px,5.65vw,76px);line-height:1.07;letter-spacing:-.045em;max-width:none;margin-bottom:0}
[data-mad-motion] .intent-line{display:block;width:fit-content;max-width:100%}
[data-mad-motion] .intent-line:last-child{margin-left:auto;color:#ff9299}
[data-mad-motion] .intent-story .callout{margin-top:0}

/* Purpose, then capability, then evidence. HTML remains visible without motion. */
[data-mad-motion] .intelligence-principles{padding-top:88px;padding-bottom:88px}
[data-mad-motion] .principle-sequence{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px;padding:0;margin:42px 0 0;list-style:none}
[data-mad-motion] .principle-step{min-width:0;border-top:2px solid #ed1c24;padding-top:24px;transform-origin:left top}
[data-mad-motion] .principle-number{display:block;font-family:system-ui,sans-serif;font-size:12px;line-height:1.3;letter-spacing:.1em;color:#ff9299;margin-bottom:20px}
[data-mad-motion] .principle-step h3{font-size:clamp(31px,3.8vw,49px);line-height:1.05;letter-spacing:-.035em;margin-bottom:24px;color:#fff}
[data-mad-motion] .principle-step p{font-size:18px;line-height:1.55;margin-bottom:16px;max-width:32ch}
[data-mad-motion] .principle-step .principle-lead{font-family:system-ui,sans-serif;font-size:21px;line-height:1.35;color:#f0f3f7;max-width:23ch}
[data-mad-motion] .principle-continuity{margin-top:38px;padding-top:25px;border-top:1px solid #39414e;font-size:21px;color:#d9dfe8;max-width:none}
[data-mad-motion] .page-hero .principle-title{max-width:none;font-size:clamp(44px,7vw,88px);line-height:1.1}
[data-mad-motion] .principle-title>[data-sequence-step]{display:inline-block;transform-origin:left bottom}
[data-mad-motion] .principle-title>[data-sequence-step]:last-child{color:#ff9299}
@media(max-width:759px){
 [data-mad-motion] .intelligence-principles{padding-top:60px;padding-bottom:60px}
 [data-mad-motion] .principle-sequence{grid-template-columns:1fr;gap:28px;margin-top:32px}
 [data-mad-motion] .principle-step{display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:18px;padding-top:22px}
 [data-mad-motion] .principle-number{padding-top:7px;margin-bottom:0}
 [data-mad-motion] .principle-step h3{font-size:36px;margin-bottom:18px}
 [data-mad-motion] .principle-step [data-sequence-copy]{grid-column:2}
 [data-mad-motion] .principle-step p{max-width:42ch}
 [data-mad-motion] .principle-step .principle-lead{font-size:20px;max-width:32ch}
 [data-mad-motion] .principle-continuity{font-size:19px;margin-top:30px}
 [data-mad-motion] .principle-title>[data-sequence-step]{display:block}
}
@media(prefers-reduced-motion:reduce){
 [data-mad-motion] [data-sequence-step]{opacity:1!important;transform:none!important;animation:none!important;transition:none!important}
}
@media print{
 [data-mad-motion] [data-sequence-step]{opacity:1!important;transform:none!important;animation:none!important}
}

/* Hatter's DSP foundation and capability guide use the existing editorial language. */
.hatter-foundation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 42px;
  list-style: none;
  margin: 38px 0 42px;
  padding: 0;
}
.hatter-foundation-grid li {
  border-top: 2px solid #ed1c24;
  padding-top: 20px;
}
.hatter-foundation-grid strong {
  display: block;
  font-family: system-ui, sans-serif;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 12px;
}
.hatter-foundation-grid span {
  color: #cbd2dc;
  font-size: 18px;
  line-height: 1.55;
}
.hatter-comparison { table-layout: fixed; }
.hatter-comparison th:first-child { width: 35%; }
.hatter-comparison tbody th {
  background: transparent;
  font-family: system-ui, sans-serif;
  font-size: 21px;
  font-weight: 500;
}
.hatter-comparison td { font-size: 18px; line-height: 1.55; }
.hatter-comparison a { color: #ff9299; text-decoration: underline; }
.hatter-capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 58px 64px;
  margin: 42px 0;
}
.hatter-capability-grid article {
  min-width: 0;
  border-top: 2px solid #ed1c24;
  padding-top: 26px;
}
.hatter-capability-grid h3 { font-size: clamp(26px, 2.5vw, 33px); line-height: 1.15; }
.hatter-capability-grid .prose { font-size: 18px; line-height: 1.6; }
.hatter-capability-grid ul { padding-left: 20px; }
.hatter-capability-grid li { margin: 15px 0; }
.hatter-capability-grid li strong { color: #f1f3f6; }
@media (max-width: 860px) {
  .hatter-foundation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hatter-capability-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .hatter-foundation-grid { grid-template-columns: 1fr; gap: 24px; }
  .hatter-comparison th, .hatter-comparison td { overflow-wrap: anywhere; }
  .hatter-comparison tbody th, .hatter-comparison td { font-size: 16px; }
}

/* All capability chapters keep their normal reading order. */
[data-family-story]>.container>.section-head{max-width:900px;margin-bottom:54px}
[data-family-story] .family-layout{display:grid;grid-template-columns:1fr;gap:42px;align-items:start}
[data-family-story] .family-aside{min-width:0;width:100%;max-width:560px;margin-inline:auto}
[data-family-story] .family-chapters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;margin-top:10px}
[data-family-story] .family-chapters a{display:flex;align-items:center;gap:10px;min-height:58px;padding:12px 0;color:#c5ccd7;border-bottom:1px solid #39414e;font-family:system-ui,sans-serif;font-size:14px;line-height:1.35;text-decoration:none;transition:color .25s ease,border-color .25s ease}
[data-family-story] .family-chapters a:hover,[data-family-story] .family-chapters a:focus-visible,[data-family-story] .family-chapters a[aria-current="location"]{color:#fff}
[data-family-story] .family-chapter-number{flex:0 0 20px;font-size:12px;font-variant-numeric:tabular-nums;color:#abb6c6;transition:color .25s ease}
[data-family-story] .family-chapters a[aria-current="location"] .family-chapter-number{color:#ff9299}
[data-family-story] .family-chapters a[aria-current="location"]{border-bottom-color:#ed1c24}
[data-family-story] .family-meter{height:2px;background:#343b48;margin-top:22px;overflow:hidden}
[data-family-story] .family-meter span{display:block;height:100%;width:100%;transform:scaleX(var(--chapter-progress,.25));transform-origin:left;background:#ed1c24;transition:transform .55s cubic-bezier(.22,.61,.36,1)}
[data-family-story] .capability-list{min-width:0}
[data-family-story] .editorial-row{position:relative;scroll-margin-top:125px;transition:border-color .4s ease}
[data-family-story] .editorial-row.is-current{border-top-color:#ed1c24}
[data-family-story] .editorial-row::before,[data-family-story] .editorial-row h3{transition:color .4s ease}
[data-family-story] .editorial-row.is-current::before,[data-family-story] .editorial-row.is-current h3{color:#fff}

/* An illustration of the architecture, not a live system display. */
[data-family-story] .family-stage{height:340px;position:relative;isolation:isolate;perspective:900px;pointer-events:none}
[data-family-story] .family-stage::before{content:"";position:absolute;inset:12% 2% 9%;background:radial-gradient(ellipse at center,#ed1c241b,transparent 68%);z-index:-1}
[data-family-story] .stage-composition{position:absolute;inset:22px 18px 36px;transform:translate3d(0,calc((.5 - var(--stage-progress,.5))*14px),0) rotateY(calc((var(--stage-progress,.5) - .5)*7deg));transform-style:preserve-3d}
[data-family-story] .stage-board{--board-x:-7%;--board-y:5%;--board-angle:-8deg;--board-size:.9;position:absolute;inset:0;padding:21px;display:flex;flex-direction:column;gap:12px;overflow:hidden;border:1px solid #526073;border-radius:9px;background:linear-gradient(135deg,#323b49,#181e28 55%,#10151d);box-shadow:0 22px 42px #0007;opacity:.3;transform:translate3d(var(--board-x),var(--board-y),0) rotate(var(--board-angle)) scale(var(--board-size));transition:transform .85s cubic-bezier(.22,.61,.36,1),opacity .55s ease,border-color .65s ease;transform-origin:50% 60%;z-index:1}
[data-family-story] .stage-board::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,#ffffff09,transparent 45%);pointer-events:none}
[data-family-story] .stage-board-experience{--board-x:10%;--board-y:0%;--board-angle:9deg;--board-size:.91;z-index:2}
[data-family-story] .stage-board-intelligence{--board-x:-11%;--board-y:9%;--board-angle:-12deg;--board-size:.85}
[data-family-story] .stage-board-worldmodel{--board-x:7%;--board-y:10%;--board-angle:12deg;--board-size:.86}
[data-family-story] .stage-board.is-active{--board-x:0%;--board-y:0%;--board-angle:0deg;--board-size:1;opacity:1;border-color:#8190a3;z-index:5}
[data-family-story] .family-stage[data-active-chapter="1"] .stage-board-compute,[data-family-story] .family-stage[data-active-chapter="3"] .stage-board-intelligence{--board-x:-12%;--board-y:-3%;--board-angle:-13deg}
[data-family-story] .family-stage[data-active-chapter="2"] .stage-board-experience{--board-x:12%;--board-y:-5%;--board-angle:13deg}
[data-family-story] .stage-board-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-family:system-ui,sans-serif;font-size:18px;line-height:1.2;color:#f3f5f8;position:relative}
[data-family-story] .stage-index{font-size:11px;letter-spacing:.08em;color:#ff9299}
[data-family-story] .stage-board-foot{position:relative;padding-top:11px;border-top:1px solid #465262;font-family:system-ui,sans-serif;font-size:11px;line-height:1.25;letter-spacing:.085em;text-transform:uppercase;color:#c9d1dd}
[data-family-story] .stage-caption{position:absolute;bottom:0;left:0;right:0;text-align:center;max-width:none;font-size:11px;letter-spacing:.05em;color:#aeb8c7;margin:0}
[data-family-story] .stage-orbit{position:absolute;left:6%;right:6%;top:14%;bottom:16%;border:1px solid #5f6e8133;border-radius:50%;transform:rotate(calc(-23deg + var(--stage-progress,0)*48deg)) scaleX(1.1);z-index:-1}
[data-family-story] .stage-orbit-two{left:17%;right:17%;top:0;bottom:5%;transform:rotate(calc(32deg - var(--stage-progress,0)*62deg)) scaleX(.76)}

/* QuickSilver: distributed computing. */
[data-family-story] .stage-compute-network{position:relative;flex:1;min-height:104px;margin:2px 0}
[data-family-story] .compute-node{position:absolute;display:flex;gap:5px;align-items:center;justify-content:center;width:27%;height:37px;background:linear-gradient(145deg,#626f80,#252f3d);border:1px solid #a3adbb;border-radius:5px;box-shadow:0 8px 15px #0004;transform:translateY(calc((var(--stage-phase,.5) - .5)*10px))}
[data-family-story] .compute-node i{display:block;width:4px;height:4px;border-radius:50%;background:#b8c4d3}
[data-family-story] .compute-node i:first-child{background:#ff9299}
[data-family-story] .node-one{left:1%;top:12%}
[data-family-story] .node-two{right:2%;top:0;transform:translateY(calc((.5 - var(--stage-phase,.5))*14px))}
[data-family-story] .node-three{left:23%;bottom:0}
[data-family-story] .node-four{right:0;bottom:8%}
[data-family-story] .compute-trace{position:absolute;left:18%;top:30%;width:62%;height:1px;background:linear-gradient(90deg,#ff9299,#6a7b91);transform-origin:left}
[data-family-story] .trace-one{transform:rotate(-8deg)}
[data-family-story] .trace-two{width:35%;transform:rotate(42deg)}
[data-family-story] .trace-three{left:37%;top:75%;width:47%;transform:rotate(-12deg)}

/* AV++: one authored experience in different languages. */
[data-family-story] .stage-screen-stack{flex:1;position:relative;min-height:110px}
[data-family-story] .stage-screen{position:absolute;top:0;bottom:4px;width:64%;padding:14px;border-radius:5px;border:1px solid #8291a6;box-shadow:0 12px 22px #0006;display:flex;flex-direction:column;align-items:start;gap:8px;background:linear-gradient(155deg,#384657,#1c2838)}
[data-family-story] .screen-back{left:1%;transform:translate3d(calc((.5 - var(--stage-phase,.5))*14px),0,0) rotate(-7deg);color:#c7d1df}
[data-family-story] .screen-front{right:0;top:14px;bottom:-6px;transform:translate3d(calc((var(--stage-phase,.5) - .5)*18px),0,0) rotate(5deg);background:linear-gradient(155deg,#55464e,#29232e);border-color:#c4979e}
[data-family-story] .stage-screen span{font-family:system-ui,sans-serif;font-size:10px;line-height:1;text-transform:uppercase;letter-spacing:.08em;color:#e0d7de}
[data-family-story] .stage-screen b{font-family:system-ui,sans-serif;font-size:20px;line-height:1.05;font-weight:500;color:#fff;max-width:8ch}
[data-family-story] .stage-screen i{height:2px;width:70%;background:#b3baca80;margin-top:auto}
[data-family-story] .stage-screen i:last-child{width:48%;margin-top:0}

/* Mad Intelligence: the continuing engineering loop begins with sound. */
[data-family-story] .stage-sound-scene{flex:1;position:relative;min-height:106px;display:flex;flex-direction:column;justify-content:center}
[data-family-story] .sound-label{position:absolute;top:0;left:0;color:#b9c4d3;font-size:11px;line-height:1.2}
[data-family-story] .stage-wave{display:block;width:100%;height:100%;min-height:70px;max-height:130px;margin:2px 0 6px;overflow:visible}
[data-family-story] .stage-wave path{fill:none;stroke-width:1.5;vector-effect:non-scaling-stroke}
[data-family-story] .wave-reference{stroke:#647287;opacity:.55}
[data-family-story] .wave-outer{stroke:#ff9299;transform:translateX(calc((var(--stage-phase,.5) - .5)*9px));transform-origin:center}
[data-family-story] .wave-inner{stroke:#d4dfef;opacity:.8;transform:translateX(calc((.5 - var(--stage-phase,.5))*12px));transform-origin:center}
[data-family-story] .stage-loop{display:flex;align-items:center;justify-content:space-between;gap:9px;color:#e0e7f1;font-family:system-ui,sans-serif;font-size:11px;line-height:1}
[data-family-story] .stage-loop i{height:1px;background:#9b5661;flex:1;max-width:25px}

/* WorldModel: operating context and permitted action. */
[data-family-story] .stage-governance{flex:1;position:relative;min-height:110px}
[data-family-story] .governance-ring{position:absolute;left:50%;top:50%;width:148px;height:100px;border:1px solid #8291a477;border-radius:50%;transform:translate(-50%,-50%) rotate(calc(-24deg + var(--stage-phase,.5)*42deg))}
[data-family-story] .ring-inner{width:108px;height:74px;border-color:#e6818c80;transform:translate(-50%,-50%) rotate(calc(35deg - var(--stage-phase,.5)*32deg))}
[data-family-story] .governance-core{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding:10px 14px;border:1px solid #bd8c96;border-radius:4px;background:#342c38;color:#fff;font-family:system-ui,sans-serif;font-size:14px;line-height:1.1}
[data-family-story] .governance-label{position:absolute;font-size:11px;line-height:1.2;color:#d0d9e6;background:#202833;padding:3px 6px;border-radius:3px}
[data-family-story] .governance-authority{left:5%;top:4%}
[data-family-story] .governance-consent{right:1%;top:36%}
[data-family-story] .governance-boundaries{left:12%;bottom:0}

@media(min-width:760px) and (min-height:640px){
 [data-family-story]{padding-top:100px;padding-bottom:100px}
 [data-family-story] .family-layout{grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:7%}
 [data-family-story] .family-aside{position:sticky;top:110px;align-self:start;max-width:none}
 [data-family-story] .family-stage{height:clamp(270px,36vh,340px)}
 [data-family-story] .stage-board{padding:18px}
 [data-family-story] .stage-board-top{font-size:clamp(14px,1.7vw,18px)}
 [data-family-story] .capability-list .editorial-row{grid-template-columns:32px minmax(0,1fr);gap:0 20px;align-content:center;min-height:430px;min-height:62vh;padding:64px 0}
 [data-family-story] .capability-list .editorial-row>div:last-child{grid-column:2}
 [data-family-story] .editorial-row::before{font-size:13px;padding-top:6px}
 [data-family-story] .editorial-row h3{font-size:clamp(27px,2.8vw,38px);line-height:1.14;margin-bottom:14px}
 [data-family-story] .editorial-row .inline-kicker{font-size:11px;letter-spacing:.11em;color:#ff9299;margin-bottom:25px}
 [data-family-story] .editorial-row>div:last-child p{font-size:20px;line-height:1.55;max-width:40ch}
}
@media(min-width:760px) and (max-width:959px) and (min-height:640px){
 [data-family-story] .family-layout{gap:38px;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
 [data-family-story] .family-chapters{gap:0 14px}
 [data-family-story] .family-chapters a{font-size:12px;gap:6px;min-height:61px}
 [data-family-story] .family-chapter-number{flex-basis:16px;font-size:10px}
 [data-family-story] .stage-board{padding:15px;gap:10px}
 [data-family-story] .stage-board-foot{font-size:10px}
 [data-family-story] .stage-screen{padding:10px}
 [data-family-story] .stage-screen b{font-size:18px}
 [data-family-story] .governance-authority{left:0}
 [data-family-story] .governance-consent{right:-2%}
}
@media(max-width:759px){
 [data-mad-motion] .intent-story{padding-top:76px;padding-bottom:76px}
 [data-mad-motion] .intent-story .section-head{margin-bottom:38px}
 [data-mad-motion] .intent-story h2{font-size:clamp(35px,6.8vw,50px)}
 [data-mad-motion] .intent-line:last-child{margin-left:0;margin-top:9px}
 [data-family-story]>.container>.section-head{margin-bottom:30px}
 [data-family-story] .family-aside{max-width:490px}
 [data-family-story] .family-stage{height:320px}
 [data-family-story] .capability-list .editorial-row{grid-template-columns:32px minmax(0,1fr);gap:0 18px;padding:36px 0}
 [data-family-story] .capability-list .editorial-row>div:last-child{grid-column:2}
 [data-family-story] .editorial-row h3{font-size:28px;line-height:1.18}
 [data-family-story] .editorial-row .inline-kicker{margin-bottom:22px}
}
@media(max-width:560px){
 [data-mad-motion] .intent-story{padding-top:65px;padding-bottom:65px}
 [data-family-story] .family-layout{gap:32px}
 [data-family-story] .family-stage{height:294px}
 [data-family-story] .stage-composition{inset:22px 16px 32px}
 [data-family-story] .stage-board{padding:18px;gap:10px}
 [data-family-story] .family-chapters{gap:0 16px}
 [data-family-story] .family-chapters a{font-size:13px;gap:8px;min-height:61px}
 [data-family-story] .family-chapter-number{flex-basis:18px;font-size:11px}
 [data-family-story] .editorial-row{scroll-margin-top:100px}
}
@media(max-width:359px){
 [data-family-story] .stage-board{padding:14px}
 [data-family-story] .stage-board-top{font-size:16px}
 [data-family-story] .stage-screen b{font-size:18px}
 [data-family-story] .family-chapters{column-gap:12px}
 [data-family-story] .family-chapters a{font-size:12px;gap:5px}
}
@media(prefers-reduced-motion:reduce){
 [data-mad-motion] [data-reveal],[data-mad-motion] [data-arrive],[data-mad-motion] [data-scroll]{opacity:1!important;transform:none!important}
 [data-mad-motion] .motion-media img,[data-mad-motion] .motion-project-media img,[data-mad-motion] .button span[aria-hidden],[data-mad-motion] .text-link span[aria-hidden]{transform:none!important;transition:none!important}
 [data-family-story] .family-aside{position:static}
 [data-family-story] .stage-composition{transform:none}
 [data-family-story] .stage-board,[data-family-story] .family-meter span,[data-family-story] .family-chapters a,[data-family-story] .family-chapter-number,[data-family-story] .editorial-row,[data-family-story] .editorial-row::before,[data-family-story] .editorial-row h3{transition:none!important}
 [data-family-story] .capability-list .editorial-row{min-height:0;padding:36px 0}
}
@media print{
 [data-mad-motion] [data-reveal],[data-mad-motion] [data-arrive],[data-mad-motion] [data-scroll]{opacity:1!important;transform:none!important}
 [data-mad-motion] .motion-media img,[data-mad-motion] .motion-project-media img{transform:none!important}
 [data-family-story] .family-layout{display:block}
 [data-family-story] .family-aside{display:none}
 [data-family-story] .capability-list .editorial-row{min-height:0;padding:24px 0;break-inside:avoid}
}

/* Inner photo movement keeps card grids and the surrounding copy stationary. */
[data-mad-motion] .motion-photo{display:block;position:relative;overflow:hidden;border-radius:8px;min-width:0;max-width:100%}
[data-mad-motion] .motion-photo>img,[data-mad-motion] .motion-photo>picture{display:block}
[data-mad-motion] .motion-photo img[data-scroll="image"]{transform-origin:center;transition:filter .35s ease}
[data-mad-motion] .motion-portfolio-photo{height:100%;width:100%;border-radius:inherit}
[data-mad-motion] .motion-portfolio-photo>img,[data-mad-motion] .motion-portfolio-photo>picture,[data-mad-motion] .motion-portfolio-photo>picture>img{width:100%;height:100%;object-fit:cover}

/* Each long explanation has its own illustration and reading position. */
[data-motion-story] .motion-story-layout{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:44px;margin-top:44px}
[data-motion-story] .motion-story-aside{min-width:0;width:100%;max-width:520px;align-self:start;margin-inline:auto}
[data-motion-story] .motion-story-stage{position:relative;height:420px;overflow:hidden;isolation:isolate;border-radius:9px;background:#1e2632;border:1px solid #455063;color:#fff}
[data-motion-story] .story-atmosphere{position:absolute;inset:-16%;z-index:-1;background:radial-gradient(ellipse at 68% 28%,#ed1c2426,transparent 54%),radial-gradient(ellipse at 16% 73%,#75879c2e,transparent 50%);transform:translate3d(calc((var(--story-progress,0) - .5)*24px),calc((.5 - var(--story-progress,0))*18px),0)}
[data-motion-story] .story-frame{position:absolute;inset:0;pointer-events:none;opacity:0;transform:translate3d(24px,8px,0);transition:opacity .36s ease,transform .55s cubic-bezier(.2,.65,.3,1)}
[data-motion-story] .story-frame.is-active{opacity:1;transform:none}
[data-motion-story] .story-frame-index{position:absolute;top:22px;left:26px;font:12px/1.2 system-ui,sans-serif;letter-spacing:.1em;color:#c3ccd9;font-variant-numeric:tabular-nums}
[data-motion-story] .story-frame-title{position:absolute;bottom:47px;left:26px;right:26px;font-family:system-ui,sans-serif;font-size:clamp(28px,3.4vw,42px);line-height:1.08;letter-spacing:-.035em;font-weight:500}
[data-motion-story] .story-frame-detail{position:absolute;left:26px;right:26px;bottom:45px;max-width:27ch;font:17px/1.3 system-ui,sans-serif;color:#d8dfe9}
[data-motion-story] .story-stage-caption{position:absolute;bottom:20px;left:26px;font-size:11px;line-height:1.2;letter-spacing:.03em;color:#aebaca}
[data-motion-story] .story-progress{height:2px;background:#465063;margin-top:17px;overflow:hidden}
[data-motion-story] .story-progress>span{display:block;width:100%;height:100%;background:#ed1c24;transform:scaleX(var(--story-progress,0));transform-origin:left}
[data-motion-story] .motion-story-content{min-width:0}
[data-motion-story] .motion-story-step{scroll-margin-top:130px}
[data-motion-story] .motion-story-step h3,[data-motion-story] .motion-story-step>strong{transition:color .3s ease}
[data-motion-story] .motion-story-step.is-current h3,[data-motion-story] .motion-story-step.is-current>strong{color:#ff9299}

/* Mad Intelligence: the current step advances around a continuing loop. */
.story-loop-geometry{position:absolute;width:232px;height:232px;top:61px;left:50%;transform:translateX(-50%)}
.story-orbit{position:absolute;inset:17px;border:1px solid #8897ab80;border-radius:50%;transform:rotate(calc(var(--story-progress,0)*144deg))}
.story-orbit::after{content:"";position:absolute;left:48%;top:-3px;width:5px;height:5px;border-radius:50%;background:#ff9299;box-shadow:0 0 20px #ed1c24}
.story-orbit.orbit-1{inset:55px;border-color:#dd7f8a75;transform:rotate(calc(38deg - var(--story-progress,0)*180deg))}
.story-orbit.orbit-1::after{width:6px;height:6px;background:#e6edf7;box-shadow:none}
.story-orbit-point{position:absolute;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;border:1px solid #6d7b90;background:#25303f;color:#bbc6d6;font:12px/1 system-ui,sans-serif;transition:color .3s ease,background .3s ease,border-color .3s ease,transform .4s ease}
.story-orbit-point.point-0{left:97px;top:0}
.story-orbit-point.point-1{left:190px;top:69px}
.story-orbit-point.point-2{left:155px;top:178px}
.story-orbit-point.point-3{left:40px;top:178px}
.story-orbit-point.point-4{left:4px;top:69px}
.story-loop[data-active-step="0"] .point-0,.story-loop[data-active-step="1"] .point-1,.story-loop[data-active-step="2"] .point-2,.story-loop[data-active-step="3"] .point-3,.story-loop[data-active-step="4"] .point-4{background:#ed1c24;border-color:#ff9299;color:#fff;transform:scale(1.16)}
[data-motion-story="loop"] .editorial-row{grid-template-columns:minmax(0,1fr);gap:5px;padding:38px 0;min-width:0}
[data-motion-story="loop"] .editorial-row .eyebrow{margin-bottom:18px}
[data-motion-story="loop"] .editorial-row h3{font-size:clamp(28px,3.4vw,43px);line-height:1.12;letter-spacing:-.025em;margin-bottom:20px}
[data-motion-story="loop"] .editorial-row .prose{max-width:43ch}
[data-motion-story="loop"] .editorial-row p{font-size:20px;line-height:1.55}

/* Mad Hatter: familiar processing opens into a deeper sound field. */
.story-signal-geometry{position:absolute;inset:79px 28px 145px;display:flex;align-items:center;justify-content:space-between;gap:7px;transform:rotate(calc((var(--story-progress,0) - .5)*8deg));z-index:2}
.signal-horizon{position:absolute;left:-15px;right:-15px;top:50%;height:1px;background:#9baac343}
.signal-column{display:block;flex:1;max-width:10px;height:var(--column-height);min-height:8px;border-radius:10px;background:linear-gradient(#f9ced2,#ed1c24 58%,#7e3b4b);transform:scaleY(calc(.7 + var(--story-phase,.5)*.3));transform-origin:center;box-shadow:0 3px 14px #ed1c2416}
.signal-column:nth-child(3n){background:linear-gradient(#e3eaf4,#879ab6 58%,#434f65);transform:scaleY(calc(1 - var(--story-phase,.5)*.25))}
.signal-plane{position:absolute;left:19%;right:19%;top:95px;height:168px;border:1px solid #8b9cb13d;border-radius:7px;transform:perspective(500px) rotateY(-27deg) rotateX(12deg) translateX(calc((var(--story-progress,0) - .5)*70px));z-index:1}
.signal-plane.plane-1{left:13%;right:25%;top:109px;opacity:.65;transform:perspective(500px) rotateY(-27deg) rotateX(12deg) translateX(calc((.5 - var(--story-progress,0))*50px))}
.signal-plane.plane-2{left:26%;right:12%;top:82px;opacity:.45;transform:perspective(500px) rotateY(-27deg) rotateX(12deg) translateX(calc((var(--story-progress,0) - .5)*95px))}
[data-motion-story="signal"] .hatter-foundation-grid{grid-template-columns:minmax(0,1fr);gap:0;margin:0;counter-reset:dsp-foundation}
[data-motion-story="signal"] .hatter-foundation-grid li{position:relative;min-width:0;padding:34px 0 38px 52px;border-top:1px solid #485263;counter-increment:dsp-foundation}
[data-motion-story="signal"] .hatter-foundation-grid li::before{content:counter(dsp-foundation,decimal-leading-zero);position:absolute;top:39px;left:0;color:#aebaca;font:12px/1.2 system-ui,sans-serif;letter-spacing:.06em}
[data-motion-story="signal"] .hatter-foundation-grid li.is-current::before{color:#ff9299}
[data-motion-story="signal"] .hatter-foundation-grid strong{font-size:clamp(27px,3vw,38px);line-height:1.12;letter-spacing:-.025em;margin-bottom:20px}
[data-motion-story="signal"] .hatter-foundation-grid span{font-size:20px;line-height:1.55}

/* The detailed guide keeps each chapter title beside its complete capability list. */
[data-mad-motion] .motion-capability-reader{grid-template-columns:minmax(0,1fr);gap:0;margin-top:48px}
[data-mad-motion] .motion-capability-reader>article{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;padding:38px 0;border-top:1px solid #475263;scroll-margin-top:126px;min-width:0}
[data-mad-motion] .motion-capability-reader>article h3{font-size:clamp(28px,3.5vw,44px);line-height:1.12;letter-spacing:-.025em;max-width:17ch}
[data-mad-motion] .motion-capability-reader>article .prose{max-width:66ch;min-width:0}
[data-mad-motion] .motion-capability-reader>article .eyebrow{margin-bottom:23px;color:#ff9299}

/* WorldModel: reveal the architectural layers alongside the canonical table. */
.story-layers .story-frame-title{bottom:107px;font-size:37px}
.story-layers .story-frame-detail{bottom:42px;min-height:51px}
.story-layer-geometry{position:absolute;top:52px;left:31px;right:47px;height:224px}
.story-layer{position:absolute;top:calc(var(--layer-order)*19px);left:0;right:0;height:37px;display:flex;align-items:center;gap:18px;padding:0 17px;background:#283343;border:1px solid #62728b;border-radius:3px;box-shadow:0 9px 14px #0002;transform:translateX(calc((4.5 - var(--layer-order))*2px)) rotate(-5deg);transform-origin:center;transition:transform .5s cubic-bezier(.2,.65,.3,1),background .35s ease,border-color .35s ease,color .35s ease}
.story-layer>span{font:10px/1 system-ui,sans-serif;color:#b4c1d2}
.story-layer>strong{font:12px/1 system-ui,sans-serif;color:#d6dfec;font-weight:400;letter-spacing:.035em}
.story-layers[data-active-step="0"] [data-layer="0"],.story-layers[data-active-step="1"] [data-layer="1"],.story-layers[data-active-step="2"] [data-layer="2"],.story-layers[data-active-step="3"] [data-layer="3"],.story-layers[data-active-step="4"] [data-layer="4"],.story-layers[data-active-step="5"] [data-layer="5"],.story-layers[data-active-step="6"] [data-layer="6"],.story-layers[data-active-step="7"] [data-layer="7"],.story-layers[data-active-step="8"] [data-layer="8"],.story-layers[data-active-step="9"] [data-layer="9"]{background:#652c3b;border-color:#ee97a3;transform:translateX(23px) rotate(0);z-index:2}
[data-motion-story] .motion-reference-table{max-width:100%;min-width:0;overflow-x:auto}
[data-motion-story] .motion-reference-table .data-table{margin-top:0}
[data-motion-story] .motion-reference-table .data-table td,[data-motion-story] .motion-reference-table .data-table th{transition:background .3s ease,border-color .3s ease}
[data-motion-story] .motion-reference-table .is-current>th,[data-motion-story] .motion-reference-table .is-current>td{background:#382630;border-bottom-color:#a65c6d}

/* QuickSilver: one field rearranges through the four deployment choices. */
.story-deployment-geometry{position:absolute;inset:72px 28px 148px;perspective:600px}
.deployment-field{position:absolute;inset:8px 1px;background:linear-gradient(90deg,transparent 49.7%,#8d9bb54a 50%,transparent 50.3%),linear-gradient(transparent 49.7%,#8d9bb54a 50%,transparent 50.3%);border:1px solid #65748b80;border-radius:7px;transform:rotateX(24deg) rotateZ(-8deg)}
.deployment-node{position:absolute;display:flex;align-items:center;justify-content:center;gap:5px;width:67px;height:50px;border:1px solid #afbdce;border-radius:5px;background:linear-gradient(140deg,#435065,#232d3d);box-shadow:0 14px 22px #0005;transition:left .65s cubic-bezier(.2,.65,.3,1),top .65s cubic-bezier(.2,.65,.3,1),transform .65s cubic-bezier(.2,.65,.3,1),background .4s ease,border-color .4s ease}
.deployment-node>i{display:block;width:5px;height:20px;border-radius:2px;background:#b4c5dd}
.deployment-node>i:nth-child(2){height:27px;background:#ff9299}
.deployment-node.node-0{left:7%;top:9%;transform:rotate(-8deg)}
.deployment-node.node-1{left:67%;top:9%;transform:rotate(-8deg)}
.deployment-node.node-2{left:7%;top:67%;transform:rotate(-8deg)}
.deployment-node.node-3{left:67%;top:67%;transform:rotate(-8deg)}
.story-deployment[data-active-step="1"] .node-0{left:34%;top:15%;transform:rotate(0)}
.story-deployment[data-active-step="1"] .node-1{left:37%;top:24%;transform:rotate(0)}
.story-deployment[data-active-step="1"] .node-2{left:40%;top:33%;transform:rotate(0)}
.story-deployment[data-active-step="1"] .node-3{left:43%;top:42%;transform:rotate(0);background:#603242;border-color:#e694a2}
.story-deployment[data-active-step="2"] .node-0{left:35%;top:14%;transform:scale(1.13);background:#603242;border-color:#e694a2}
.story-deployment[data-active-step="2"] .node-1{left:5%;top:70%;transform:scale(.7)}
.story-deployment[data-active-step="2"] .node-2{left:37%;top:70%;transform:scale(.7)}
.story-deployment[data-active-step="2"] .node-3{left:69%;top:70%;transform:scale(.7)}
.story-deployment[data-active-step="3"] .node-0{left:35%;top:65%;transform:scale(1.1);background:#603242;border-color:#e694a2}
.story-deployment[data-active-step="3"] .node-1{left:5%;top:8%;transform:scale(.85)}
.story-deployment[data-active-step="3"] .node-2{left:37%;top:8%;transform:scale(.85)}
.story-deployment[data-active-step="3"] .node-3{left:69%;top:8%;transform:scale(.85)}

/* Statement moments vary the rhythm of the project and company stories. */
[data-mad-motion] .motion-display-heading{font-size:clamp(34px,5vw,68px);line-height:1.08;letter-spacing:-.04em;max-width:none}
[data-mad-motion] .motion-display-line{display:block;max-width:100%;width:fit-content}
[data-mad-motion] .motion-display-line:last-child{color:#ff9299}
[data-mad-motion] .motion-display-heading>br{display:none}
[data-mad-motion] #dsp-foundation>.container>.section-head{max-width:none;margin-bottom:58px}
[data-mad-motion] #dsp-foundation .motion-display-line:last-child{margin:7px 0 0 auto;text-align:right}
[data-mad-motion] .motion-language-story{padding-block:100px}
[data-mad-motion] .motion-language-story .section-head{margin-bottom:0}
[data-mad-motion] .motion-language-story .motion-display-heading{font-size:clamp(35px,4.4vw,59px);line-height:1.08}
[data-mad-motion] .motion-language-story .motion-display-number{font-size:clamp(110px,15vw,190px);line-height:.9;letter-spacing:-.075em;color:#fff;margin-bottom:25px}
[data-mad-motion] .motion-language-story .prose{padding-top:44px}
[data-mad-motion] .motion-editorial-pause{padding-block:120px;background:radial-gradient(ellipse at 80% 40%,#ed1c2412,transparent 55%)}
[data-mad-motion] .motion-editorial-pause h2{font-size:clamp(39px,5.3vw,70px);line-height:1.06;letter-spacing:-.04em}

@media(min-width:860px) and (min-height:660px){
 [data-motion-story="loop"] .motion-story-layout,[data-motion-story="signal"] .motion-story-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:8%}
 [data-motion-story] .motion-story-aside{position:sticky;top:120px;max-width:none}
 [data-motion-story] .motion-story-stage{height:clamp(370px,56vh,440px)}
 [data-motion-story="loop"] .editorial-row{min-height:410px;min-height:60vh;align-content:center;padding:54px 0}
 [data-motion-story="signal"] .hatter-foundation-grid li{min-height:320px;min-height:47vh;display:flex;flex-direction:column;justify-content:center;padding-block:50px}
 [data-motion-story="signal"] .hatter-foundation-grid li::before{top:55px}
 [data-mad-motion] .motion-capability-reader>article{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:8%;padding:52px 0}
 [data-mad-motion] .motion-capability-reader [data-motion-pin]{position:sticky;top:135px;align-self:start}
 [data-mad-motion] .motion-editorial-chapter{padding-block:95px}
 [data-mad-motion] .motion-editorial-chapter>.container{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:0 8%;align-items:start}
 [data-mad-motion] .motion-editorial-chapter .section-head{grid-column:1;grid-row:1 / span 4;margin:0}
 [data-mad-motion] .motion-editorial-chapter .section-head h2{font-size:clamp(34px,3.4vw,47px);line-height:1.12;letter-spacing:-.025em}
 [data-mad-motion] .motion-editorial-chapter>.container>.prose,[data-mad-motion] .motion-editorial-chapter>.container>.related-links{grid-column:2;min-width:0}
}
@media(min-width:980px) and (min-height:660px){
 [data-motion-story="layers"] .motion-story-layout,[data-motion-story="deployment"] .motion-story-layout{grid-template-columns:minmax(300px,.76fr) minmax(0,1.6fr);gap:5%}
 [data-motion-story="layers"] .motion-story-stage{height:440px}
 [data-motion-story="layers"] .data-table td,[data-motion-story="layers"] .data-table th,[data-motion-story="deployment"] .data-table td,[data-motion-story="deployment"] .data-table th{padding:28px 15px}
 [data-motion-story="layers"] .data-table td:nth-child(2){width:31%}
 [data-motion-story="layers"] .data-table th:first-child{width:15%}
 [data-motion-story="deployment"] .data-table th:first-child{width:24%}
 [data-motion-story="deployment"] .data-table td,[data-motion-story="deployment"] .data-table th{padding-block:46px}
}
@media(max-width:979px),(max-height:659px){
 [data-motion-story="layers"] .motion-story-aside,[data-motion-story="deployment"] .motion-story-aside{position:static}
 [data-motion-story="layers"] .motion-story-stage{height:440px}
}
@media(max-width:859px),(max-height:659px){
 [data-motion-story="loop"] .motion-story-stage,[data-motion-story="signal"] .motion-story-stage{height:360px}
 [data-motion-story="loop"] .story-loop-geometry{top:46px;transform:translateX(-50%) scale(.87);transform-origin:top center}
 [data-motion-story="signal"] .story-signal-geometry{inset:75px 28px 119px}
 [data-motion-story="signal"] .signal-plane{top:68px;height:145px}
 [data-motion-story="signal"] .signal-plane.plane-1{top:81px}
 [data-motion-story="signal"] .signal-plane.plane-2{top:57px}
 [data-motion-story] .motion-story-layout{gap:30px;margin-top:32px}
 [data-mad-motion] .motion-language-story{padding-block:70px}
 [data-mad-motion] .motion-language-story .prose{padding-top:0}
 [data-mad-motion] .motion-editorial-pause{padding-block:76px}
}
@media(max-width:560px){
 [data-motion-story] .motion-story-stage{border-radius:7px}
 [data-motion-story] .story-frame-index,[data-motion-story] .story-frame-title,[data-motion-story] .story-frame-detail,[data-motion-story] .story-stage-caption{left:20px;right:20px}
 [data-motion-story] .story-frame-title{font-size:31px}
 [data-motion-story="signal"] .hatter-foundation-grid li{padding-left:38px}
 [data-motion-story="loop"] .editorial-row p,[data-motion-story="signal"] .hatter-foundation-grid span{font-size:18px}
 [data-motion-story="layers"] .story-frame-title{font-size:35px}
 [data-motion-story="layers"] .motion-reference-table .data-table{min-width:500px}
 [data-motion-story="deployment"] .motion-reference-table .data-table{min-width:480px}
 [data-mad-motion] #dsp-foundation .motion-display-line:last-child{margin-left:0;text-align:left}
 [data-mad-motion] #dsp-foundation>.container>.section-head{margin-bottom:38px}
 [data-mad-motion] .motion-language-story .motion-display-number{font-size:128px}
 .story-deployment-geometry{left:20px;right:28px}
 .deployment-node{width:57px;height:45px}
}
@media(prefers-reduced-motion:reduce){
 [data-motion-story] .motion-story-aside,[data-mad-motion] [data-motion-pin]{position:static}
 [data-motion-story] .story-frame,[data-motion-story] .story-layer,[data-motion-story] .story-orbit-point,[data-motion-story] .deployment-node,[data-motion-story] .motion-story-step h3,[data-motion-story] .motion-story-step>strong,[data-motion-story] .motion-reference-table .data-table td,[data-motion-story] .motion-reference-table .data-table th{transition:none!important}
 [data-motion-story] .story-frame,[data-motion-story] .story-atmosphere{transform:none}
 [data-motion-story="loop"] .editorial-row,[data-motion-story="signal"] .hatter-foundation-grid li{min-height:0;padding-block:34px}
 [data-motion-story="signal"] .hatter-foundation-grid li::before{top:39px}
 [data-mad-motion] .motion-photo img{transform:none!important;transition:none!important}
}
@media print{
 [data-motion-story] .motion-story-layout,[data-mad-motion] .motion-capability-reader>article,[data-mad-motion] .motion-editorial-chapter>.container{display:block}
 [data-motion-story] .motion-story-aside{display:none}
 [data-motion-story="loop"] .editorial-row,[data-motion-story="signal"] .hatter-foundation-grid li{min-height:0;padding-block:24px}
 [data-mad-motion] [data-motion-pin]{position:static}
 [data-mad-motion] .motion-photo img{transform:none!important}
 [data-motion-story] .motion-reference-table{overflow:visible}
 [data-motion-story] .motion-reference-table .data-table{min-width:0}
 [data-motion-story] .motion-reference-table .is-current>th,[data-motion-story] .motion-reference-table .is-current>td{background:transparent}
}

/* Hatter's processing directory and purpose-limited sensing. */
.page-hero h1 .hatter-dsp-accent{color:#ed1c24}
.hatter-block-grid,.hatter-privacy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-top:38px}
.hatter-block-group,.hatter-sensing-card{min-width:0;padding:34px;border:1px solid #3e4857;border-radius:8px;background:linear-gradient(145deg,#1c222c,#15191f)}
.hatter-block-group .eyebrow,.hatter-sensing-card .eyebrow{color:#ff9299;margin-bottom:17px}
.hatter-block-group h3{font-size:clamp(25px,2.5vw,32px);line-height:1.16;max-width:20ch}
.hatter-block-list{padding:0;margin:25px 0 0;list-style:none;color:#c4ccd8;font-size:17px;line-height:1.6}
.hatter-block-list li{padding:14px 0;border-top:1px solid #343d49;margin:0}
.hatter-block-list strong{color:#f2f4f7;font-weight:600}
.hatter-block-list a{color:#ff9299;text-decoration:underline;text-underline-offset:3px}
.hatter-block-development{border-color:#785157;background:linear-gradient(145deg,#30212a,#17191f)}
.hatter-directory-note{max-width:86ch;font-size:16px!important;line-height:1.6;color:#b6c0cf!important}
.hatter-block-development>.hatter-directory-note{border-top:1px solid #69474f;padding-top:19px;margin-top:12px}
.hatter-sensing-card h3{font-size:clamp(43px,5vw,64px);letter-spacing:-.035em;line-height:1.03;margin-bottom:14px}
.hatter-sensing-name{font-family:system-ui,sans-serif;color:#fff!important;font-size:21px;line-height:1.4;margin-bottom:28px!important}
.hatter-sensing-card .prose{font-size:18px;line-height:1.6}
.hatter-privacy-context{margin-top:48px}

/* The original WorldModel diagrams remain complete and can be enlarged. */
.wm-reference{max-width:820px;margin:32px 0 0;padding:25px 28px;border-left:3px solid #ed1c24;background:#24222a}
.wm-reference p{font-size:18px;line-height:1.6;color:#d8dfe8}
.wm-reference p a{color:#ff9299;text-decoration:underline;text-underline-offset:3px;font-weight:600;white-space:nowrap}
.wm-diagram-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.wm-diagram-card{display:flex;flex-direction:column;min-width:0;padding:25px;border:1px solid #434d5d;border-radius:8px;background:#1b2029;text-decoration:none;transition:border-color .2s,background .2s}
.wm-diagram-card:hover,.wm-diagram-card:focus-visible{border-color:#ff9299;background:#242631}
.wm-diagram-thumbnail{display:flex;align-items:center;justify-content:center;min-height:190px;margin:-3px -3px 25px;background:#11151d;border-radius:5px;overflow:hidden}
.wm-diagram-thumbnail img{display:block;width:100%;height:190px;object-fit:contain}
.wm-diagram-card .eyebrow{margin-bottom:13px;font-size:11px}
.wm-diagram-card h3{font-size:clamp(24px,2.6vw,31px);line-height:1.12;max-width:22ch;color:#f5f6f8}
.wm-diagram-card p{font-size:18px;line-height:1.5;margin-bottom:25px}
.wm-diagram-card .text-link{margin-top:auto}
.wm-diagram-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:36px}
.wm-diagram-card:last-child .wm-diagram-thumbnail{grid-column:1;grid-row:1/span 4;margin:0}
.wm-diagram-card:last-child .wm-diagram-thumbnail img{height:260px}
.wm-diagram-card:last-child>.eyebrow,.wm-diagram-card:last-child>h3,.wm-diagram-card:last-child>p,.wm-diagram-card:last-child>.text-link{grid-column:2}
.wm-diagram-index{display:flex;flex-wrap:wrap;gap:12px;margin-block:36px}
.wm-diagram-index a{display:inline-flex;gap:12px;align-items:center;min-height:48px;padding:12px 17px;border:1px solid #4b5667;border-radius:4px;background:#1a2029;color:#f0f3f8;font:500 15px/1.4 system-ui,sans-serif}
.wm-diagram-index a span{color:#ff9299;font-size:12px}
.wm-diagram-index a:hover{border-color:#ff9299}
.wm-diagram-section{scroll-margin-top:110px}
.wm-diagram-section .section-head{max-width:860px}
.wm-diagram-figure{margin:0;min-width:0}
.wm-diagram-figure>img{display:block;width:100%;height:auto;border:1px solid #455061;border-radius:8px;background:#10141c;object-fit:contain}
.wm-diagram-figure figcaption{max-width:94ch;margin-top:25px;color:#c8d1de;font-size:19px;line-height:1.65}
.wm-diagram-zoom{margin-top:28px;border-top:1px solid #465264;border-bottom:1px solid #465264;padding:19px 0}
.wm-diagram-zoom summary{cursor:pointer;color:#f7f8fb;font:500 18px/1.5 system-ui,sans-serif;min-height:30px}
.wm-diagram-zoom>p{margin:20px 0;font-size:16px}
.wm-diagram-scroll{overflow:auto;max-height:75vh;border:1px solid #566176;border-radius:5px;background:#10141c;overscroll-behavior:contain}
.wm-diagram-scroll>img{display:block;width:1440px;max-width:none;height:auto;object-fit:contain}
@media(max-width:859px){
 .hatter-block-grid,.hatter-privacy-grid{grid-template-columns:minmax(0,1fr)}
 .hatter-block-group,.hatter-sensing-card{padding:28px}
 .wm-diagram-card{padding:22px}
 .wm-diagram-card:last-child{display:flex;grid-column:auto}
 .wm-diagram-card:last-child .wm-diagram-thumbnail{margin:-3px -3px 25px}
 .wm-diagram-card:last-child .wm-diagram-thumbnail img{height:190px}
}
@media(max-width:620px){
 .wm-diagram-grid{grid-template-columns:minmax(0,1fr)}
 .wm-reference{padding:22px 20px}
 .wm-reference p{font-size:17px}
 .wm-diagram-index{gap:9px;margin-block:26px}
 .wm-diagram-index a{width:100%;font-size:15px}
 .wm-diagram-figure figcaption{font-size:18px}
 .wm-diagram-zoom summary{font-size:17px}
 .hatter-block-group,.hatter-sensing-card{padding:24px}
 .hatter-block-list{font-size:17px}
}
@media(prefers-reduced-motion:reduce){.wm-diagram-card{transition:none}}
@media print{
 .wm-diagram-index,.wm-diagram-zoom{display:none}
 .wm-diagram-section{break-inside:avoid}
 .wm-diagram-figure>img{max-height:75vh}
 .wm-diagram-figure figcaption{color:#222}
 .hatter-block-grid,.hatter-privacy-grid{display:block}
 .hatter-block-group,.hatter-sensing-card{break-inside:avoid;margin-bottom:24px}
}
