/* Homepage hero visual extracted from the accepted portable handoff.
   Fonts and site chrome are provided by /_shared/mock.css. */
:root{--paper-mid:#f7f4ed;--paper-raised:#fbf9f3;--paper-soft:#f1ede4;--paper-bright:#fefdfa;--ink:#141617;--ink-muted:#4a5560;--ink-hair:rgba(20,22,23,.14);--ink-hair-strong:rgba(20,22,23,.26);--steel:#2f4a66;--steel-deep:#1e3449;--steel-ink:#12283d;--steel-soft:#6b89a8;--slate:#5a6b7d;--sans:"Figtree","Figtree Fallback",system-ui,sans-serif;--mono:"IBM Plex Mono","IBM Plex Mono Fallback",ui-monospace,monospace}
*{box-sizing:border-box}body{margin:0;background:var(--paper-mid);color:var(--ink);font-family:var(--sans);line-height:1.5;-webkit-font-smoothing:antialiased}a{color:var(--steel)}button,summary{font:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--steel);outline-offset:5px}a{text-underline-offset:4px}button{cursor:pointer}svg{display:block}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link{position:absolute;left:20px;top:-80px;z-index:100;background:var(--steel);color:var(--paper-bright);padding:12px}.skip-link:focus{top:10px}
.site-header{border-bottom:1px solid var(--ink-hair);padding:10px 24px;background:var(--paper-mid)}.site-header-inner{max-width:1160px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;min-height:60px}.brand img{height:60px;width:auto;display:block}.site-nav{display:flex;align-items:center;gap:26px;font-size:15px;font-weight:600;color:var(--steel-deep)}.site-nav a,.site-nav summary{display:flex;align-items:center;min-height:44px;text-decoration:none;color:inherit}.site-nav a[aria-current]{text-decoration:underline;text-decoration-thickness:1px}.site-nav summary{cursor:pointer;list-style:none;gap:8px}.site-nav summary::-webkit-details-marker{display:none}.nav-projects{position:relative}.nav-menu{position:absolute;top:48px;right:0;width:168px;border:1px solid var(--ink-hair-strong);background:var(--paper-raised);padding:6px 14px;z-index:10}.nav-menu a{font-weight:400}.nav-menu a:hover{text-decoration:underline}
.hero{max-width:1208px;margin:auto;padding:39px 24px 0}.hero-copy{text-align:center}.eyebrow{margin:0 0 14px;font-size:12px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;color:var(--steel-deep)}h1{max-width:900px;margin:0 auto;color:var(--steel-ink);font-size:56px;font-weight:600;line-height:1.08;letter-spacing:-.022em}.hero-description{max-width:760px;margin:20px auto 0;font-size:21px;line-height:1.42;text-wrap:pretty}.hero-actions{display:flex;justify-content:center;gap:16px;margin-top:24px}.button{min-height:48px;padding:10px 19px;border:1px solid transparent;border-radius:2px;display:inline-flex;justify-content:center;align-items:center;gap:18px;text-decoration:none;font-size:16px;font-weight:600}.button-primary{color:var(--paper-bright);background:var(--steel);border-color:var(--steel)}.button-primary:hover{background:var(--steel-deep)}.button-quiet{color:var(--steel);border-color:var(--ink-hair-strong)}.button-quiet:hover{background:var(--paper-raised);border-color:var(--steel)}
.cross-section{margin:36px 0 0}.scene{border:1px solid transparent;border-radius:4px;background:transparent}.scene-canvas{height:350px;position:relative}.enclosure,.connections{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.enclosure-mobile,.connections-mobile{display:none}.box-rear{stroke:var(--ink-hair-strong);stroke-width:1;fill:none}.box-edge{stroke:var(--slate);stroke-width:1;fill:none;stroke-dasharray:1;stroke-dashoffset:0}.box-highlight{stroke:var(--paper-bright);stroke-width:1;fill:none}.partition{stroke:var(--ink-hair);stroke-width:1;fill:none}.connections{z-index:1;overflow:visible}.connector{stroke:var(--steel);stroke-width:1.2;fill:none;stroke-dasharray:1;stroke-dashoffset:0;stroke-linejoin:round}.attached-note,.conditions-link{stroke:var(--ink-muted)}
.artifact{position:absolute;z-index:2;font-family:var(--mono);font-size:12px;line-height:1.3;transform-origin:center;color:var(--ink-muted)}.piece-heading{font-family:var(--sans);color:var(--steel-ink);font-size:15px;font-weight:600;line-height:1.2}.records{left:6%;top:77px;width:22%;height:111px;background:var(--paper-raised)}.record-mark{float:right;color:var(--steel);font-size:15px}.table-header{display:grid;grid-template-columns:1fr 70px;border-bottom:1px solid var(--ink-hair-strong);padding:7px 0 5px;font-size:10px;color:var(--ink-muted)}.record-row{height:20px;border-bottom:1px solid var(--ink-hair);display:grid;grid-template-columns:12px 1fr 64px;align-items:center;gap:9px;padding:0 4px}.record-row i{width:5px;height:5px;border:1px solid var(--slate);border-radius:1px}.record-row b{height:2px;width:76%;background:var(--ink-hair-strong);font-weight:400}.record-row span{height:2px;width:80%;background:var(--ink-hair-strong)}.record-row:nth-child(3) b{width:94%}.selected-record{background:rgba(47,74,102,.07);border-left:2px solid var(--steel);padding-left:2px}.selected-record i{background:var(--steel);border-color:var(--steel)}.selected-record b{background:var(--steel)}
.source-note{left:6%;top:215px;width:22%;height:79px;border:1px solid var(--ink-hair-strong);background:linear-gradient(105deg,rgba(47,74,102,.035),transparent 75%),var(--paper-raised);padding:11px 12px}.source-note .piece-heading{font-size:14px}.note-fold{position:absolute;right:-1px;top:-1px;width:13px;height:13px;border-left:1px solid var(--ink-hair-strong);border-bottom:1px solid var(--ink-hair-strong);background:var(--paper-soft);clip-path:polygon(0 0,100% 100%,0 100%)}.note-rule{height:1px;width:77%;background:var(--ink-hair-strong);margin-top:10px}.note-rule.short{width:47%;margin-top:7px}.access-label{position:absolute;right:10px;bottom:10px;display:flex;gap:4px;font-size:10px;align-items:center;background:var(--paper-raised)}.access-label svg{width:11px;height:11px;fill:none;stroke:var(--ink-muted);stroke-width:1}
.context-stack{left:38%;top:78px;width:25%;height:96px}.context-row{height:28px;display:flex;align-items:center;gap:8px;border:1px solid var(--ink-hair-strong);background:var(--paper-raised);position:relative;padding:0 13px}.context-row span{width:74px;color:var(--steel-ink);font-size:12px}.context-row i{height:2px;width:34px;background:var(--ink-hair-strong)}.context-row i:last-child{width:19px}.core{width:86%;margin-left:14%;background:var(--paper-soft)}.working{width:93%;margin-left:7%;margin-top:-1px}.tail{margin-top:-1px}.context-caption{position:absolute;right:12px;bottom:-17px;font-size:10px}.workflow{left:34.5%;top:205px;width:31%;height:55px;display:flex;justify-content:space-between;gap:30px}.workflow-block{position:relative;flex:1;min-width:0;height:55px;border:1px solid var(--ink-hair-strong);background:var(--paper-raised);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px;white-space:nowrap;color:var(--steel-ink)}.block-icon{font-size:19px;line-height:18px;color:var(--slate)}.workflow-block.agent{border-color:var(--steel);background:rgba(47,74,102,.065);outline:1px solid var(--paper-raised);outline-offset:2px}.workflow-block.agent .block-icon{color:var(--steel)}.port{width:6px;height:6px;border:1px solid var(--steel);background:var(--paper-raised);border-radius:50%;position:absolute;top:calc(50% - 3px)}.port.in{left:-4px}.port.out{right:-4px}.contribution{left:38%;top:291px;width:25%;height:32px;border-top:1px solid var(--ink-hair-strong);display:flex;align-items:center;gap:12px;background:var(--paper-raised)}.contribution-title{font-family:var(--sans);font-size:12px;font-weight:600;color:var(--steel-ink)}.contribution-spine{color:var(--steel);display:flex;align-items:center;gap:5px;font-size:12px;white-space:nowrap}.contribution-spine i{width:4px;height:1px;background:var(--ink-hair-strong)}.contribution-people{font-size:9px;white-space:nowrap;position:absolute;right:0;bottom:-10px;color:var(--ink-muted)}
.measurement{left:73%;top:76px;width:22%;height:125px;background:var(--paper-raised)}.plot-heading{display:flex;justify-content:space-between;align-items:center}.plot-unit{font-size:10px}.plot{width:100%;height:98px}.plot-grid{fill:none;stroke:var(--ink-hair);stroke-width:.8}.plot-axis{fill:none;stroke:var(--ink-muted);stroke-width:1}.axis-label{font:9px var(--mono);fill:var(--ink-muted)}.plot-series{fill:none;stroke-width:1.5;stroke-linejoin:round}.cook{stroke:var(--steel)}.reload{stroke:var(--slate);stroke-dasharray:4 3}.plot-points{fill:var(--paper-raised);stroke:var(--steel);stroke-width:1.4}.plot-legend{display:flex;justify-content:flex-end;gap:14px;font-size:9px;margin-top:-2px}.plot-legend span{display:flex;align-items:center;gap:5px}.plot-legend i{width:15px;height:0;border-top:1.5px solid var(--steel)}.plot-legend i.dashed{border-top-style:dashed;border-color:var(--slate)}.conditions{left:73%;top:232px;width:22%;height:75px;border-top:1px solid var(--ink-hair-strong);padding-top:8px;background:var(--paper-raised)}.conditions .piece-heading{font-size:13px;display:flex;justify-content:space-between}.quiet-label{font:9px var(--mono);color:var(--ink-muted)}.conditions p{margin:5px 0 0;font-size:10px;line-height:1.3}.conditions p+p{margin-top:3px}
.scene-bottom{min-height:41px;margin:0 21px;border-top:1px solid transparent;display:flex;justify-content:space-between;align-items:center;gap:12px}.scene-label{font-size:12px;color:var(--ink-muted)}#motion-control{font-family:var(--sans);font-size:12px;font-weight:600;color:var(--steel);border:0;padding:8px 0 8px 12px;background:transparent;min-height:36px;min-width:90px;text-align:right;border-radius:2px}#motion-control span{display:inline-block;margin-left:8px}#motion-control:hover{text-decoration:underline;text-underline-offset:4px}.static-label{font-size:11px;color:var(--ink-muted)}.motion-ready .static-label{display:none}[hidden]{display:none!important}
.continuation{max-width:1096px;margin:82px auto 76px;padding:0 24px;scroll-margin-top:30px}.continuation:focus{outline:0}.continuation-intro{display:grid;grid-template-columns:1fr 1fr;gap:0 72px;align-items:start;margin-bottom:34px}.continuation-intro .eyebrow{grid-column:1/-1}.continuation-intro h2{font-size:34px;line-height:1.13;letter-spacing:-.015em;color:var(--steel-ink);margin:0;font-weight:600;max-width:400px}.continuation-intro>p:last-child{font-size:17px;color:var(--ink-muted);margin:0;line-height:1.5;text-wrap:pretty}.continuation-container{position:relative;border:1px solid var(--ink-hair-strong);background:linear-gradient(105deg,rgba(47,74,102,.025),transparent 70%);border-radius:2px}.continuation-container:before{content:"";position:absolute;left:10px;right:-11px;top:-11px;height:10px;border:1px solid var(--ink-hair-strong);border-bottom:0;transform:skewX(-45deg);transform-origin:bottom;background:rgba(47,74,102,.025)}.continuation-row{display:grid;grid-template-columns:1fr 350px;align-items:center;gap:32px;min-height:107px;padding:15px 31px}.continuation-row+.continuation-row{border-top:1px solid var(--ink-hair)}.continuation-row h3{font-weight:600;font-size:18px;color:var(--steel-ink);margin:0 0 3px}.continuation-row p{color:var(--ink-muted);font-size:16px;margin:0}.continuation-row svg{width:100%;height:72px}.mini-enclosure{stroke:var(--ink-hair-strong);stroke-width:1;fill:rgba(251,249,243,.6)}.mini-rule{stroke:var(--ink-muted);stroke-width:1;fill:none}.mini-link{stroke:var(--steel);stroke-width:1;fill:none}.mini-surface{stroke:var(--ink-hair-strong);fill:var(--paper-raised)}.mini-active{fill:rgba(47,74,102,.07);stroke:var(--steel)}.mini-port{stroke:var(--steel);fill:var(--paper-raised)}.continuation-row svg text{fill:var(--ink-muted);font:10px var(--mono)}
.site-footer{border-top:1px solid var(--ink-hair);padding:22px 24px 34px}.footer-inner{max-width:1160px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:30px}.footer-inner img{height:49px;width:auto;display:block;margin-bottom:12px}.footer-inner p{font-size:12px;color:var(--ink-muted);margin:4px 0}.footer-inner nav{display:flex;gap:22px;font-size:13px}.footer-inner nav a{text-decoration:none}.footer-inner nav a:hover{text-decoration:underline}
@media(min-width:760px) and (max-width:1040px){.hero{padding-top:30px}h1{font-size:50px}.workflow{gap:20px}.workflow-block{font-size:9px}.contribution{gap:8px}.contribution-title{font-size:10px}.contribution-spine{gap:3px;font-size:11px}.conditions p{font-size:9px}.piece-heading{font-size:14px}.source-note{padding:10px 8px}.context-row{padding:0 8px}.context-row span{width:65px}.context-row i{width:20px}.continuation-row{grid-template-columns:1fr 290px}.continuation-intro{gap:0 35px}}
@media(max-width:759px){.site-header{padding:8px 20px}.site-header-inner{gap:14px}.brand{min-height:51px}.brand img{height:51px}.site-nav{font-size:13px;gap:16px}.site-nav>a:first-child{display:none}.nav-menu{right:0}.hero{padding:35px 20px 0}h1{font-size:38px;line-height:1.08;letter-spacing:-.02em;max-width:560px}.desktop-break{display:none}.hero-description{font-size:19px;line-height:1.42;margin-top:20px;max-width:510px}.eyebrow{font-size:10px;margin-bottom:16px}.hero-actions{flex-wrap:wrap;gap:12px;margin-top:24px}.button{font-size:15px;gap:13px;padding:11px 17px;min-height:48px}.cross-section{margin-top:32px}.scene-canvas{height:960px}.enclosure-desktop,.connections-desktop{display:none}.enclosure-mobile,.connections-mobile{display:block}.artifact{font-size:13px}.records{left:13%;top:77px;width:70%;height:110px}.piece-heading{font-size:16px}.table-header{font-size:11px;padding-top:10px}.record-row{height:21px}.source-note{left:13%;top:218px;width:70%;height:79px;padding:11px 13px}.source-note .piece-heading{font-size:15px}.access-label{font-size:11px;bottom:11px}.context-stack{left:13%;top:350px;width:70%;height:99px}.context-row{height:32px;padding:0 12px}.context-row span{font-size:13px;width:84px}.context-row i{width:28px}.context-caption{font-size:11px;bottom:-19px}.workflow{left:11%;top:511px;width:74%;height:59px;gap:18px}.workflow-block{height:59px;font-size:10px}.block-icon{font-size:20px}.contribution{left:13%;top:621px;width:70%;height:34px;gap:12px}.contribution-title{font-size:12px}.contribution-spine{font-size:13px}.contribution-people{font-size:10px;bottom:-14px}.measurement{left:13%;top:722px;width:70%;height:124px}.plot{height:100px}.plot-legend{font-size:10px}.conditions{left:13%;top:867px;width:70%;height:73px}.conditions p{font-size:11px}.conditions .piece-heading{font-size:14px}.quiet-label{font-size:10px}.scene-bottom{margin:0 13px;min-height:47px;gap:8px}.scene-label{font-size:10px;max-width:170px;line-height:1.4}#motion-control{font-size:12px;min-height:40px;padding-left:4px;min-width:100px}.static-label{font-size:10px}.continuation{margin:55px auto 45px;padding:0 20px}.continuation-intro{display:block;margin-bottom:32px}.continuation-intro h2{font-size:31px;max-width:400px;margin-bottom:18px}.continuation-intro>p:last-child{font-size:17px}.continuation-row{grid-template-columns:1fr;gap:12px;padding:22px 20px}.continuation-row svg{height:auto;max-width:350px;margin-left:-8px}.continuation-row h3{font-size:18px}.continuation-row p{font-size:16px}.footer-inner{display:block}.footer-inner nav{margin-top:24px}.site-footer{padding-left:20px;padding-right:20px}.footer-inner p{max-width:290px}}
@media(max-width:370px){.hero{padding-left:20px;padding-right:20px}h1{font-size:36px}.hero-description{font-size:18px}.hero-actions{flex-direction:column;align-items:center}.hero-actions .button{width:230px}.workflow{gap:11px;left:10%;width:76%}.workflow-block{font-size:9px}.contribution-title{font-size:11px}.contribution{gap:8px}.contribution-spine{font-size:11px;gap:4px}.context-row i:last-child{display:none}.conditions p{font-size:10px}.quiet-label{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Render pass: keep contribution and measurement within the clear boundary. */
@media(min-width:760px){.contribution{top:277px}.contribution-title{font-size:13px}.contribution-people{font-size:10px;bottom:-13px}.measurement,.conditions{width:20%}.conditions p{font-size:11px}.quiet-label{font-size:10px}.plot-legend{font-size:10px}.axis-label{font-size:10px}.table-header{font-size:11px}.workflow-block{font-size:11px}.context-caption{font-size:11px}}
@media(min-width:760px) and (max-width:1040px){.contribution-title{font-size:10px}.workflow-block{font-size:9px}.conditions p{font-size:9px}.quiet-label{font-size:9px}}
@media(max-width:759px){.continuation-container:before{right:0}.measurement{top:708px}.conditions{top:852px}.axis-label{font-size:10px}}

/* Preserve readable context labels as the vector plot changes size. */
.plot{overflow:visible}.axis-label{font-size:12px}
@media(min-width:760px) and (max-width:1040px){.axis-label{font-size:18px}.conditions p{font-size:11px}.quiet-label{font-size:10px}.workflow-block{font-size:11px}.output>span:last-of-type{font-size:10px;white-space:normal;text-align:center;line-height:1.1;padding:0 3px}}
@media(max-width:370px){.axis-label{font-size:14px}}


.membrane{position:relative;isolation:isolate;overflow:hidden;background:var(--membrane-field,#244956)}.membrane__gl{position:absolute;inset:0;z-index:1;display:block;pointer-events:none}.membrane [data-membrane-native]{position:relative;z-index:2}.membrane [data-membrane-face]{border-color:color-mix(in srgb,var(--membrane-held,#a8dfea) 67%,transparent);border-radius:var(--membrane-radius,10px);color:var(--membrane-ink,#173647);background:var(--membrane-face,#eff5f4)}.membrane[data-membrane-fallback=true] [data-membrane-native]{display:block}@media(prefers-reduced-motion:reduce){.membrane__gl{display:none!important}.membrane[data-membrane-motion-control=external]>.membrane__gl{display:block!important}}@media print{.membrane__gl{display:none!important}}


/* V3 composition pass: warmer project fields and a reserved single-pen hero. */
:root {
  --v3-darp-sky: #dcebf2;
  --v3-llama-field: #dceadf;
  --v3-frame-field: #eadfcf;
  --v3-pen: #36566d;
}

.hero {
  position: relative;
  max-width: 1080px;
  min-height: 620px;
  padding: clamp(58px, 7vw, 94px) 72px 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(45px, 6vw, 72px) clamp(22px, 5vw, 68px);
}

.hero-enclosure {
  position: absolute;
  inset: 10px 0 auto;
  width: 100%;
  height: 540px;
  overflow: visible;
  pointer-events: none;
  z-index: 3;
}

.hero-membrane {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 10px;
  bottom: auto;
  height: 540px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #1E4A6B;
  isolation: isolate;
  clip-path: url("#hero-boundary-clip");
  --hero-texture-x: 0px;
  --hero-texture-y: 0px;
  --hero-texture-scale-x: 1;
  --hero-texture-scale-y: 1;
}

.hero-membrane > .membrane__gl {
  transform: translate3d(var(--hero-texture-x), var(--hero-texture-y), 0)
    scale(var(--hero-texture-scale-x), var(--hero-texture-scale-y));
  transform-origin: 50% 50%;
}

.hero-copy {
  z-index: 2;
}

/* Warm fine-grain paper sits behind the existing copy while the blue
   membrane remains visible around it and continues to carry the motion. */
.hero-copy::before {
  position: absolute;
  inset: calc(clamp(45px, 6vw, 72px) - 20px)
    calc(clamp(22px, 5vw, 68px) - 20px);
  z-index: 0;
  border-radius: 14px;
  background-color: #fdf8ef;
  background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxODAiIGhlaWdodD0iMTgwIj4KICA8ZGVmcz4KICAgIDxmaWx0ZXIgaWQ9ImciPgogICAgICA8ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMS4zNSIgbnVtT2N0YXZlcz0iMiIgc2VlZD0iNyIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPgogICAgICA8ZmVDb2xvck1hdHJpeCB2YWx1ZXM9IjAgMCAwIDAgMC4xNiAwIDAgMCAwIDAuMTMgMCAwIDAgMCAwLjEwIDAgMCAwIDAuMDg1IDAiLz4KICAgIDwvZmlsdGVyPgogIDwvZGVmcz4KICA8cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWx0ZXI9InVybCgjZykiLz4KPC9zdmc+Cg==");
  background-position: center;
  background-repeat: repeat;
  background-size: 180px 180px;
  background-blend-mode: multiply;
  box-shadow: 0 5px 14px rgba(36, 45, 49, .13),
    inset 0 1px rgba(255, 255, 255, .52);
  content: '';
  pointer-events: none;
  transform: scale(var(--hero-paper-scale-x, 1), var(--hero-paper-scale-y, 1));
  transform-origin: center;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero-enclosure__line,
.hero-enclosure__graphite,
.hero-enclosure__boil {
  fill: none;
  stroke: var(--v3-pen);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: .72;
}

.hero-enclosure__line {
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}

.hero-enclosure__graphite {
  stroke: rgba(20, 22, 23, .32);
  stroke-width: 1.05;
  stroke-dasharray: 32 3 18 2 44 3 11 2;
  opacity: .36;
}

.hero-enclosure__boil {
  stroke-width: 1.25;
  opacity: 0;
}

.hero-enclosure__boil--one { transform: translate(.45px, -.3px); }
.hero-enclosure__boil--two { transform: translate(-.35px, .25px); }

.hero-enclosure__shadow {
  fill: rgba(47, 74, 102, .02);
  stroke: rgba(20, 22, 23, .14);
  stroke-linejoin: round;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.hero .cross-section {
  margin-top: clamp(22px, 4vw, 44px);
}

.hero-motion-control {
  position: absolute;
  top: 86px;
  right: 60px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(54, 86, 109, .3);
  border-radius: 50%;
  color: var(--v3-pen);
  background: rgba(220, 238, 245, .72);
  box-shadow: 0 2px 7px rgba(47, 74, 102, .08);
  cursor: pointer;
  opacity: .78;
  transition: opacity .2s ease, background-color .2s ease, border-color .2s ease;
}

.hero-motion-control:hover,
.hero-motion-control:focus-visible {
  opacity: 1;
  border-color: rgba(54, 86, 109, .54);
  background: rgba(238, 246, 248, .92);
}

.hero-motion-control:focus-visible {
  outline: 2px solid rgba(54, 86, 109, .52);
  outline-offset: 3px;
}

.hero-motion-control__icon {
  position: relative;
  display: block;
  width: 12px;
  height: 14px;
}

.hero-motion-control__icon::before,
.hero-motion-control__icon::after {
  position: absolute;
  top: 1px;
  width: 3px;
  height: 12px;
  border-radius: 1px;
  background: currentColor;
  content: '';
}

.hero-motion-control__icon::before { left: 1px; }
.hero-motion-control__icon::after { right: 1px; }

.hero-motion-control.is-paused .hero-motion-control__icon::before {
  top: 0;
  left: 2px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid currentColor;
  border-radius: 0;
  background: transparent;
}

.hero-motion-control.is-paused .hero-motion-control__icon::after { display: none; }
.hero-motion-control[hidden] { display: none; }

/* No JS and motion-off state: the complete enclosure is always visible. */
.motion-ready .hero-enclosure__line {
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}

.motion-ready .hero-enclosure__line.is-drawing {
  animation: none;
}

.motion-ready .hero-enclosure__line.is-complete {
  stroke-dashoffset: 0;
}

.motion-ready .hero-enclosure__line.is-settled {
  opacity: .78;
}

.motion-ready .hero-enclosure__graphite {
  opacity: .36;
}

.motion-ready .hero-enclosure__line.is-drawing ~ .hero-enclosure__graphite {
  opacity: 0;
}

.motion-ready .hero-enclosure__shadow {
  opacity: 0;
  transition: opacity .7s ease .6s;
}

.motion-ready .hero-enclosure__shadow.is-complete {
  opacity: 1;
}

.rw {
  overflow: hidden;
  padding-bottom: 0;
}

.rw-intro {
  padding-top: 92px;
}

.rw-inner {
  display: flex;
  flex-direction: column;
}

.rw-intro { order: 0; }
.rw-llama { order: 1; }
.rw-frame { order: 2; }
.rw-darp { order: 3; }

.rw-darp,
.rw-llama,
.rw-frame {
  padding-top: clamp(58px, 7vw, 96px);
  padding-bottom: clamp(62px, 8vw, 112px);
}

.rw-darp:after,
.rw-llama:after,
.rw-frame:after {
  left: 50%;
  width: 100vw;
}

.rw-darp:after {
  background:
    radial-gradient(42% 62% at 78% 14%, rgba(255, 255, 255, .74), transparent 72%),
    radial-gradient(56% 70% at 18% 85%, rgba(105, 170, 204, .23), transparent 78%),
    linear-gradient(150deg, var(--v3-darp-sky), #edf2ef 70%, #f7f4ed);
}

.rw-llama:after {
  background:
    radial-gradient(48% 60% at 81% 12%, rgba(244, 251, 242, .8), transparent 68%),
    radial-gradient(55% 58% at 12% 88%, rgba(71, 119, 83, .18), transparent 74%),
    linear-gradient(150deg, #cfe4d3, var(--v3-llama-field) 62%, #edf0e6);
}

.rw-frame:after {
  background:
    radial-gradient(42% 62% at 75% 9%, rgba(255, 250, 241, .78), transparent 70%),
    radial-gradient(60% 56% at 9% 86%, rgba(151, 85, 42, .16), transparent 78%),
    repeating-linear-gradient(0deg, transparent 0 15px, rgba(122, 63, 28, .025) 15px 16px),
    linear-gradient(150deg, #e4d2bb, var(--v3-frame-field) 63%, #f2e8dc);
}

.rw-darp .rw-record {
  background: rgba(252, 254, 253, .62);
  box-shadow: 12px 16px 0 rgba(47, 99, 130, .08), inset 0 1px rgba(255, 255, 255, .85);
}

.rw-llama .rw-benchmark {
  box-shadow: 16px 20px 0 rgba(51, 94, 62, .12), 0 0 0 1px rgba(55, 97, 67, .16);
}

.rw-frame .rw-source-canvas {
  box-shadow: 16px 20px 0 rgba(122, 63, 28, .1);
}

.rw-darp .rw-darp-copy,
.rw-llama .rw-frame-intro,
.rw-frame .rw-frame-intro {
  position: relative;
  z-index: 1;
}

.rw-darp .rw-darp-copy::before,
.rw-llama .rw-frame-intro::before,
.rw-frame .rw-frame-intro::before {
  content: "";
  position: absolute;
  width: 44px;
  height: 7px;
  left: -2px;
  top: -24px;
  border-top: 2px solid currentColor;
  transform: rotate(-1.6deg);
  opacity: .34;
}

@media (max-width: 759px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .page-section {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    overflow: hidden;
  }

  .page-section h2,
  .capability-field h2,
  .reasoning h2,
  .public-work h2,
  .paid-close h2 {
    font-size: clamp(39px, 11vw, 48px);
    line-height: 1.04;
    letter-spacing: -.032em;
  }

  .capability-field {
    margin-top: 76px;
  }

  .capability-intro {
    position: static;
    margin: 20px 0 0;
    font-size: 17px;
    line-height: 1.48;
  }

  .capability-intro br,
  .capability-field h2 br,
  .reasoning h2 br {
    display: none;
  }

  .capability-stage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 14px;
    height: auto;
    margin-top: 34px;
    padding: 20px 0 8px;
  }

  .capability-stage::before {
    inset: 0 -16px;
    opacity: .42;
  }

  .capability-stage::after,
  .field-geometry {
    display: none;
  }

  .cap-note,
  .cap-record,
  .cap-workflow,
  .cap-application,
  .field-footnote {
    position: relative;
    inset: auto;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    margin: 0;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    animation: none !important;
  }

  .cap-note {
    grid-column: 1 / -1;
    padding: 0;
  }

  .cap-note h3 {
    font-size: 27px;
    line-height: 1.08;
    margin: 8px 0 10px;
  }

  .cap-note p {
    font-size: 16px;
    line-height: 1.48;
  }

  .cap-record {
    width: 100%;
    height: 126px;
    align-self: end;
  }

  .record-front {
    height: 126px;
    padding: 13px;
  }

  .record-front i {
    margin-top: 11px;
  }

  .cap-workflow {
    width: 100%;
    align-self: center;
  }

  .cap-workflow > .field-index {
    margin-bottom: 10px;
  }

  .working-node {
    height: 61px;
    font-size: 18px;
  }

  .terminal-dot {
    top: 26px;
  }

  .cap-workflow small {
    margin-top: 9px;
  }

  .cap-application {
    grid-column: 2;
    width: 100%;
    height: auto;
    align-self: center;
  }

  .application-front {
    padding: 12px;
  }

  .application-front div {
    gap: 5px;
  }

  .application-front i {
    width: 22px;
  }

  .field-footnote {
    grid-column: 1 / -1;
    padding-top: 4px;
    font-size: 10px;
  }

  .reasoning {
    margin-top: 76px;
  }

  .reasoning-heading {
    margin-left: 0;
  }

  .reasoning-intro {
    font-size: 17px;
    line-height: 1.48;
    margin: 19px 0 0;
  }

  .reasoning-stage.comparison-stage {
    height: auto;
    margin: 30px 0 0;
  }

  .comparison-geometry {
    display: none;
  }

  .mobile-comparison-summary {
    display: grid;
    gap: 14px;
  }

  .mobile-black-box,
  .mobile-clear-box {
    position: relative;
    padding: 18px;
    border: 1px solid var(--ink-hair-strong);
  }

  .mobile-black-box {
    color: #eef3f4;
    background: linear-gradient(140deg, #263746, #0d1217);
    box-shadow: 8px 9px 0 rgba(18, 40, 61, .12);
  }

  .mobile-clear-box {
    background: linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(189, 215, 228, .18));
    box-shadow: 8px 9px 0 rgba(47, 74, 102, .08);
  }

  .mobile-black-box strong,
  .mobile-clear-box strong {
    display: block;
    margin: 8px 0 2px;
    font-size: 28px;
    line-height: 1;
  }

  .mobile-black-box small,
  .mobile-clear-box small,
  .mobile-clear-box p {
    display: block;
    margin: 0;
    font: 12px/1.45 var(--mono);
  }

  .mobile-clear-box p {
    margin: 10px 0;
    color: var(--steel-deep);
  }

  .comparison-caption {
    position: static;
    display: block;
    margin: 18px 0 0;
    font-size: 11px;
  }

  .site-header {
    padding: 8px 16px;
  }

  .site-header-inner {
    gap: 10px;
  }

  .brand img {
    height: 48px;
  }

  .site-nav {
    gap: 10px;
    font-size: 13px;
  }

  .hero {
    min-height: 675px;
    padding: 34px 16px 0;
  }

  .hero-copy {
    padding: 42px 18px 38px;
  }

  .hero-enclosure {
    inset: 8px 0 auto;
    width: 100%;
    height: 580px;
  }

  .hero-motion-control {
    top: 580px;
    right: 35px;
  }

  .hero-membrane {
    left: 0;
    right: 0;
    top: 8px;
    bottom: auto;
    height: 580px;
  }

  h1 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .hero-description {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .scene-canvas {
    height: 960px;
  }

  .enclosure-desktop,
  .connections-desktop {
    display: none;
  }

  .enclosure-mobile,
  .connections-mobile {
    display: block;
  }

  .rw {
    font-size: 16px;
  }

  .rw-inner {
    width: min(100% - 32px, 1120px);
  }

  .rw-intro,
  .rw-frame-intro,
  .rw-darp {
    display: block;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .rw-intro {
    padding-top: 64px;
    padding-bottom: 36px;
  }

  .rw h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .rw h3 {
    font-size: 29px;
  }

  .rw-darp,
  .rw-llama,
  .rw-frame {
    padding: 62px 0 72px;
  }

  .rw-record {
    margin-top: 38px;
    padding: 22px;
  }

  .rw-record-lines {
    font-size: 16px;
  }

  .rw-benchmark,
  .rw-source-canvas {
    width: 100%;
  }

  .rw-benchmark {
    padding: 14px;
  }

  .rw-benchmark-field {
    padding: 8px;
  }

  .rw-benchmark-heading {
    display: block;
  }

  .rw-benchmark-heading span {
    display: block;
    margin-top: 5px;
  }

  .rw-source-canvas {
    height: 276px;
  }

  .rw-cf-toolbar {
    overflow: hidden;
    font-size: 11px;
  }

  .rw-cf-toolbar > :not(strong):not(.rw-cf-unsaved) {
    display: none;
  }

  .rw-cf-stage {
    transform: scale(.58);
    transform-origin: top left;
    width: 172%;
  }

  .rw-frame figure > figcaption {
    display: block;
    margin: 16px 0 0;
  }

  .rw-frame figure > figcaption a {
    margin-top: 16px;
  }

  .public-work {
    margin-top: 78px;
  }

  .public-work header {
    margin-left: 0;
  }

  .public-work header > p:last-child {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.48;
  }

  .conversation-field {
    height: auto;
    margin-top: 30px;
    display: grid;
    gap: 18px;
  }

  .conversation-field > svg {
    display: none;
  }

  .conversation-field article,
  .conversation-one,
  .conversation-two,
  .research-invite {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    margin: 0;
  }

  .conversation-field article {
    padding: 18px;
    border-left: 2px solid var(--steel-soft);
    background: rgba(255, 255, 255, .3);
  }

  .conversation-field h3 {
    font-size: 25px;
    line-height: 1.08;
    margin: 10px 0;
  }

  .conversation-field article > p:not(.field-index),
  .research-invite {
    font-size: 16px;
    line-height: 1.48;
  }

  .research-invite {
    padding: 4px 0 0;
  }

  .paid-close {
    height: auto;
    margin: 76px 0 62px;
    padding-bottom: 0;
  }

  .contact-structure {
    display: none;
  }

  .paid-close > .eyebrow {
    padding-top: 0;
  }

  .contact-copy {
    position: static;
    margin-top: 26px;
    padding: 20px;
    border: 1px solid var(--ink-hair-strong);
    background: rgba(255, 255, 255, .34);
  }

  .contact-copy h3 {
    font-size: 25px;
    line-height: 1.1;
  }

  .contact-copy p,
  .contact-copy .contact-research {
    font-size: 16px;
    line-height: 1.48;
  }

  .contact-email {
    display: block;
    margin: 16px 0 0;
  }
}

@media (min-width: 760px) {
  .mobile-comparison-summary {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .hero-enclosure__line {
    animation: none;
    stroke-dashoffset: 0;
  }

  .motion-ready .hero-enclosure__shadow {
    opacity: 1;
    transition: none;
  }

  .motion-ready .hero-enclosure__boil {
    animation: none;
    opacity: 0;
  }
}

/* Branded project destinations: compact, padded targets with the existing
   project marks and a shared 44px touch target. */
.project-hero-cta {
  min-height: 44px;
  padding: 9px 14px;
  gap: 10px;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: 600;
  transition: filter .18s ease, box-shadow .18s ease, transform .18s ease;
}

.project-hero-cta--llama {
  color: #111611;
  background: #5a8a6b;
  border-color: #5a8a6b;
  box-shadow: inset 0 1px rgba(254, 253, 250, .28), 0 2px 0 rgba(17, 22, 17, .12);
}

.project-hero-cta:hover,
.rw .rw-cta:hover {
  transform: translateY(-1px);
  text-decoration: none !important;
}

.project-hero-cta:focus-visible,
.rw .rw-cta:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.project-cta-memory-mark {
  height: 18px;
  gap: 2px;
  color: #111611;
  flex: 0 0 auto;
}

.project-cta-memory-mark > i {
  width: 10px;
  border-radius: 1px;
}

.project-cta-memory-mark .rw-memory-open {
  border-width: 1.5px;
}

.project-cta-memory-mark .rw-memory-lines {
  gap: 1px;
  padding: 1px;
}

.project-cta-memory-mark .rw-memory-lines b {
  height: 2px;
  border-radius: 1px;
}

.rw .rw-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 2px 0 rgba(20, 22, 23, .1);
}

.rw .rw-cta-darp {
  color: #fefdfa;
  background: #2c6a90;
  border-color: #2c6a90;
}

.rw .rw-cta-llama {
  color: #111611;
  background: #5a8a6b;
  border-color: #5a8a6b;
}

.rw .rw-cta-frame {
  color: #7a3f1c;
  background: #eadfcf;
  border-color: #7a3f1c;
}

.rw .rw-cta-darp:focus-visible { outline-color: #2c6a90; }
.rw .rw-cta-llama:focus-visible { outline-color: #111611; }
.rw .rw-cta-frame:focus-visible { outline-color: #7a3f1c; }

.rw-frame figure > figcaption .rw-cta {
  min-height: 44px;
  margin-top: 0;
  font-size: 15px;
}

.project-cta-frame-mark {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

@media (max-width: 759px) {
  .hero-copy::before {
    inset: 34px 12px 24px;
    border-radius: 12px;
  }

  .project-hero-cta {
    min-width: 230px;
  }

  .rw .rw-cta {
    width: max-content;
    max-width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .project-hero-cta--llama {
    padding-inline: 10px;
    gap: 8px;
  }
}

/* The live front boundary is also the rear-to-front edge of this shallow
   volume, so the material and its thickness deform together. */
.hero-depth {
  position: absolute;
  inset: 10px 0 auto;
  z-index: 0;
  width: 100%;
  height: 540px;
  overflow: visible;
  pointer-events: none;
}

.hero-depth__mobile {
  display: none;
}

.hero-depth__desktop,
.hero-depth__mobile {
  pointer-events: none;
}

.hero-depth__rear,
.hero-depth__middle,
.hero-depth__near {
  stroke-linejoin: round;
  stroke: none !important;
}

.hero-depth__rear {
  fill: rgba(31, 68, 88, .20) !important;
}

.hero-depth__middle {
  fill: rgba(66, 119, 143, .15) !important;
}

.hero-depth__near {
  fill: rgba(192, 224, 235, .24) !important;
}

.hero-membrane::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  content: '';
  background: linear-gradient(135deg, rgba(255, 255, 255, .14), transparent 38%, rgba(31, 68, 88, .08));
}

/* The desktop copy starts centered in the live front panel rather than at
   the lower edge left by the former stacked hero padding. */
@media (min-width: 760px) {
  .hero {
    padding-top: 52px;
  }
}

@media (max-width: 759px) {
  .hero-depth {
    inset: 8px 0 auto;
    height: 580px;
  }

  .hero-depth__desktop {
    display: none;
  }

  .hero-depth__mobile {
    display: block;
  }
}

@media (max-width: 360px) {
  .hero {
    min-height: 735px;
  }

  .hero-copy {
    padding-top: 42px;
  }

  .hero-enclosure,
  .hero-membrane,
  .hero-depth {
    height: 640px;
  }

  .hero-motion-control {
    top: 640px;
  }
}

/* The darker green keeps white labels and the existing memory mark readable
   at normal and hover states; the subtle edge supplies the requested inked
   outline without reducing contrast. */
.project-hero-cta--llama,
.rw .rw-cta-llama {
  color: #fff;
  background: #467456;
  border-color: #467456;
  text-shadow: -.5px 0 rgba(0, 0, 0, .55), .5px 0 rgba(0, 0, 0, .55),
    0 -.5px rgba(0, 0, 0, .55), 0 .5px rgba(0, 0, 0, .55);
}

.project-cta-memory-mark {
  color: #fff;
}

.project-hero-cta--llama:focus-visible,
.rw .rw-cta-llama:focus-visible {
  outline-color: #244e35;
}

/* Standalone handoff framing only. */
html { background: var(--paper-mid); }
body { min-height: 100vh; }
.hero { margin-bottom: 52px; }
.hero-reference-note { max-width: 1080px; margin: 0 auto 28px; padding: 0 24px; color: var(--ink-muted); font: 12px/1.5 var(--mono); }

/* Hero primary CTA: light blue on the dark blue hero so it reads as a button. */
.hero-actions .button-primary { color: #2c6a90; background: #e4eef5; border-color: #e4eef5; }
.hero-actions .button-primary:hover { color: #1e5378; background: #fefdfa; border-color: #fefdfa; }
.hero-actions .button-primary:focus-visible { outline-color: #fefdfa; }

/* ==========================================================================
   Homepage hero: the drawn box follows its content at every width.
   Final override (appended after everything else in hero.css; every selector
   is prefixed .page-home so nothing leaks).
   ========================================================================== */

/* 1. The hero's height comes from .hero-copy alone; the three shape layers
      (fill, outline, depth) span the same box instead of fixed 540/580/640px. */
.page-home .hero { min-height: 0; padding: 10px 0 0; margin-bottom: 0; }
.page-home .hero-copy { top: 0; max-width: 900px; padding: 92px 56px 80px; }
.page-home .hero-copy h1 { max-width: 820px; margin-inline: auto; text-wrap: balance; }
.page-home .hero-membrane,
.page-home .hero-enclosure,
.page-home .hero-depth { top: 10px; bottom: auto; height: calc(100% - 10px); }

/* 2. Pause / motion control: inside the drawn bottom-right corner. */
.page-home .hero .hero-motion-control { top: auto; bottom: 52px; right: 64px; width: 40px; height: 40px; }

/* 3. Primary CTA text in the site ink on the light-blue button. */
.page-home .hero-actions .button-primary,
.page-home .hero-actions .button-primary:hover,
.page-home .hero-actions .button-primary:focus-visible { color: #1b2b3a; }

@media (max-width: 1040px) {
  .page-home .desktop-break { display: none; }
}

@media (max-width: 1100px) {
  .page-home .hero { margin-left: 24px; margin-right: 24px; }
}

@media (max-width: 759px) {
  .page-home .hero { margin-left: 10px; margin-right: 10px; padding: 10px 0 0; }
  /* Side padding scales with the box: the drawn edge sits ~2.5% in and
     breathes ~1.5% more (worst-case envelope: agents/geometry/recommendations.md),
     so 5.5% + 12px keeps 12px+ clear at every width. */
  .page-home .hero-copy { padding: 84px calc(5.5% + 12px) 112px; }
  .page-home .hero-copy h1 { font-size: clamp(2rem, 9vw, 2.9rem); max-width: none; }
  .page-home .hero .hero-motion-control { top: auto; bottom: 52px; right: 34px; width: 36px; height: 36px; }
  .page-home .hero-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
  .page-home .hero-actions .button { width: auto; min-width: 0; }
}

@media (max-width: 479px) {
  .page-home .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .page-home .hero-actions .button { width: 100%; }
}

/* 4. Primary CTA takes the project CTA shape: 6px radius, compact 44px target,
      inset highlight + inked drop edge. Hover matches the llama CTA: the sitewide
      site-modern press (scale .97, 420ms ease) with no colour shift. */
.page-home .hero-actions .button-primary {
  min-height: 44px;
  padding: 9px 14px;
  gap: 10px;
  border-radius: 6px;
  box-shadow: inset 0 1px rgba(254, 253, 250, .6), 0 2px 0 rgba(17, 22, 17, .18);
}
.page-home .hero-actions .button-primary:hover { background: #e4eef5; border-color: #e4eef5; }
.page-home .hero-actions .button-primary:focus-visible { outline: 3px solid #fefdfa; outline-offset: 4px; }

@media (max-width: 759px) {
  .page-home .hero-actions .button-primary { padding-inline: 10px; gap: 8px; }
}

/* 5. Contact copy: no panel. The legacy 759px rule above boxes .contact-copy for
      the old light layout; homepage.css only undoes it at 700px, which left a
      grey slab on the dark contact band from 701 to 759px. */
@media (max-width: 759px) {
  .page-home .contact-copy { margin: 0; padding: 0; border: 0; background: transparent; }
}
